commit | df18ba76b072e6d64772f722d3bbe966f293bdda | [log] [tgz] |
---|---|---|
author | lukasza <[email protected]> | Fri Jun 09 22:24:30 2017 |
committer | Commit Bot <[email protected]> | Fri Jun 09 22:24:30 2017 |
tree | cd42c0bd900b7ada8cae4ec07bffdbaf6901a5e1 | |
parent | 1bb4d98b866875041d80b5134eff3e64529382d5 [diff] [blame] |
Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame. BUG=416660 Review-Url: https://codereview.chromium.org/2923053002 Cr-Commit-Position: refs/heads/master@{#478436}
diff --git a/content/renderer/stats_collection_controller.cc b/content/renderer/stats_collection_controller.cc index 618c6fc..16eb0f83 100644 --- a/content/renderer/stats_collection_controller.cc +++ b/content/renderer/stats_collection_controller.cc
@@ -78,7 +78,7 @@ }; // static -void StatsCollectionController::Install(blink::WebFrame* frame) { +void StatsCollectionController::Install(blink::WebLocalFrame* frame) { v8::Isolate* isolate = blink::MainThreadIsolate(); v8::HandleScope handle_scope(isolate); v8::Local<v8::Context> context = frame->MainWorldScriptContext();