diff --git a/atom/browser/ui/inspectable_web_contents_impl.cc b/atom/browser/ui/inspectable_web_contents_impl.cc index ed6dc741a911..fa690427313e 100644 --- a/atom/browser/ui/inspectable_web_contents_impl.cc +++ b/atom/browser/ui/inspectable_web_contents_impl.cc @@ -889,7 +889,8 @@ void InspectableWebContentsImpl::DidFinishNavigation( base::GenerateGUID().c_str()); // Invoking content::DevToolsFrontendHost::SetupExtensionsAPI(frame, script); // should be enough, but it seems to be a noop currently. - frame->ExecuteJavaScriptForTests(base::UTF8ToUTF16(script)); + frame->ExecuteJavaScriptForTests(base::UTF8ToUTF16(script), + base::NullCallback()); } void InspectableWebContentsImpl::SendMessageAck(int request_id,