fix: RFH->ExecuteJavascriptForTesting now requires a callback

Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1492042
This commit is contained in:
Samuel Attard 2019-03-21 20:15:31 -07:00
parent 74ac80e218
commit 7467e91880

View file

@ -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,