mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1198451 - Disambiguate mozilla::dom::Function from mozilla::Function. r=froydnj
This commit is contained in:
parent
08886f3037
commit
0d9fb0ddb0
@ -1103,11 +1103,11 @@ private:
|
||||
|
||||
class DebuggerImmediateRunnable : public WorkerRunnable
|
||||
{
|
||||
nsRefPtr<Function> mHandler;
|
||||
nsRefPtr<dom::Function> mHandler;
|
||||
|
||||
public:
|
||||
explicit DebuggerImmediateRunnable(WorkerPrivate* aWorkerPrivate,
|
||||
Function& aHandler)
|
||||
dom::Function& aHandler)
|
||||
: WorkerRunnable(aWorkerPrivate, WorkerThreadUnchangedBusyCount),
|
||||
mHandler(&aHandler)
|
||||
{ }
|
||||
@ -5666,7 +5666,7 @@ WorkerPrivate::PostMessageToDebugger(const nsAString& aMessage)
|
||||
}
|
||||
|
||||
void
|
||||
WorkerPrivate::SetDebuggerImmediate(JSContext* aCx, Function& aHandler,
|
||||
WorkerPrivate::SetDebuggerImmediate(JSContext* aCx, dom::Function& aHandler,
|
||||
ErrorResult& aRv)
|
||||
{
|
||||
AssertIsOnWorkerThread();
|
||||
@ -5904,7 +5904,7 @@ WorkerPrivate::ReportError(JSContext* aCx, const char* aMessage,
|
||||
|
||||
int32_t
|
||||
WorkerPrivate::SetTimeout(JSContext* aCx,
|
||||
Function* aHandler,
|
||||
dom::Function* aHandler,
|
||||
const nsAString& aStringHandler,
|
||||
int32_t aTimeout,
|
||||
const Sequence<JS::Value>& aArguments,
|
||||
|
Loading…
Reference in New Issue
Block a user