Skip to content
Permalink
Browse files

Bug 1092102, followup 2: Add missing 'override' annotation to WorkerD…

…ebuggerSandboxPrivate::GetGlobalJSObject() (and 'virtual', for consistency).
  • Loading branch information...
rmottola committed Jun 28, 2019
1 parent b4d053c commit 72c9f3c84fad20745a5813b2330e1c4817d667f0
Showing with 1 addition and 1 deletion.
  1. +1 −1 dom/workers/WorkerScope.cpp
@@ -526,7 +526,7 @@ class WorkerDebuggerSandboxPrivate : public nsIGlobalObject,
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS_AMBIGUOUS(WorkerDebuggerSandboxPrivate,
nsIGlobalObject)

JSObject *GetGlobalJSObject()
virtual JSObject *GetGlobalJSObject() override
{
return GetWrapper();
}

0 comments on commit 72c9f3c

Please sign in to comment.
You can’t perform that action at this time.