Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: extensions/renderer/runtime_custom_bindings.cc

Issue 2923053002: Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Rebasing... Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/renderer/runtime_custom_bindings.cc
diff --git a/extensions/renderer/runtime_custom_bindings.cc b/extensions/renderer/runtime_custom_bindings.cc
index 66ed982fb558d4d96dabdee457734b7dc22969f8..fb1e4814c27afb189d5d4bb2bd0529f401230ac3 100644
--- a/extensions/renderer/runtime_custom_bindings.cc
+++ b/extensions/renderer/runtime_custom_bindings.cc
@@ -94,7 +94,7 @@ void RuntimeCustomBindings::GetExtensionViews(
// main views, not any subframes. (Returning subframes can cause broken
// behavior by treating an app window's iframe as its main frame, and maybe
// other nastiness).
- blink::WebFrame* web_frame = frame->GetWebFrame();
+ blink::WebLocalFrame* web_frame = frame->GetWebFrame();
if (web_frame->Top() != web_frame)
continue;

Powered by Google App Engine
This is Rietveld 408576698