mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1198451 - Disambiguate mozilla::dom::Function from mozilla::Function. r=froydnj
--HG-- extra : source : aa0c472e2f7ed9ca9f71682c47f19d5f4b880e7d
This commit is contained in:
parent
78627e8b5d
commit
04bf303d99
@ -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