Browse Source

NotifyJSRunToCompletionStart() take 4 args now (as of NM27 rev a291744)

master
roytam1 2 years ago
parent
commit
e95e1acf35
  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("InjectJS");
docShell->NotifyJSRunToCompletionStart("InjectJS", L"InjectJS", L"InjectJS",1);
JS::Rooted<JSObject*> globalJSObject(cx, innerGlobal->GetGlobalJSObject());
JS::Rooted<JS::Value> v (cx, JS::UndefinedValue());

Loading…
Cancel
Save