Browse Source

MozUtils: fix build for ecb14f443a

master
Roy Tam 2 years ago
parent
commit
e5060f59e9
  1. 2
      k-meleon/app/MozUtils.cpp

2
k-meleon/app/MozUtils.cpp

@ -740,7 +740,7 @@ bool InjectJS(nsIDOMWindow* dom, const wchar_t* userScript, CString& result)
JSAutoRequest ar(cx);
JSAutoNullableCompartment ac(cx, _globalJSObject);
docShell->NotifyJSRunToCompletionStart();
docShell->NotifyJSRunToCompletionStart("InjectJS");
JS::Rooted<JSObject*> globalJSObject(cx, innerGlobal->GetGlobalJSObject());
JS::Rooted<JS::Value> v (cx, JS::UndefinedValue());

Loading…
Cancel
Save