Skip to content

Commit

Permalink
Bug 1092102, followup 2: Add missing 'override' annotation to WorkerD…
Browse files Browse the repository at this point in the history
…ebuggerSandboxPrivate::GetGlobalJSObject() (and 'virtual', for consistency).
  • Loading branch information
rmottola committed Jun 28, 2019
1 parent b4d053c commit 72c9f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom/workers/WorkerScope.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 72c9f3c

Please sign in to comment.