diff --git a/k-meleon/app/MozUtils.cpp b/k-meleon/app/MozUtils.cpp index 3c9c5634..31f559a0 100644 --- a/k-meleon/app/MozUtils.cpp +++ b/k-meleon/app/MozUtils.cpp @@ -740,9 +740,8 @@ bool InjectJS(nsIDOMWindow* dom, const wchar_t* userScript, CString& result) JSAutoRequest ar(cx); JSAutoNullableCompartment ac(cx, _globalJSObject); JS::Rooted asyncStack(cx, JS::NullValue()); - JS::Rooted asyncCauseValue(cx, JS::NullValue()); - docShell->NotifyJSRunToCompletionStart("InjectJS", L"InjectJS", L"InjectJS", 1, asyncStack, asyncCauseValue); + docShell->NotifyJSRunToCompletionStart("InjectJS", L"InjectJS", L"InjectJS", 1, asyncStack, ""); JS::Rooted globalJSObject(cx, innerGlobal->GetGlobalJSObject()); JS::Rooted v (cx, JS::UndefinedValue());