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

Unified Diff: content/renderer/mojo_main_runner.cc

Issue 2923433002: Move ExecuteScript method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Tweaked a comment in WebViewPlugin::WebViewHelper::main_frame [as suggested in CR feedback] 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
« no previous file with comments | « content/renderer/mojo_main_runner.h ('k') | content/shell/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mojo_main_runner.cc
diff --git a/content/renderer/mojo_main_runner.cc b/content/renderer/mojo_main_runner.cc
index be12b9207c19f0cdd0db03a47084ca4e6144c177..0fb5ebe6b0ccf6535186e7264d5586adb73b9834 100644
--- a/content/renderer/mojo_main_runner.cc
+++ b/content/renderer/mojo_main_runner.cc
@@ -8,7 +8,7 @@
#include "gin/modules/module_registry.h"
#include "gin/per_context_data.h"
#include "gin/public/context_holder.h"
-#include "third_party/WebKit/public/web/WebFrame.h"
+#include "third_party/WebKit/public/web/WebLocalFrame.h"
#include "third_party/WebKit/public/web/WebScriptSource.h"
using v8::Context;
@@ -20,10 +20,9 @@ using v8::Script;
namespace content {
-MojoMainRunner::MojoMainRunner(blink::WebFrame* frame,
+MojoMainRunner::MojoMainRunner(blink::WebLocalFrame* frame,
gin::ContextHolder* context_holder)
- : frame_(frame),
- context_holder_(context_holder) {
+ : frame_(frame), context_holder_(context_holder) {
DCHECK(frame_);
v8::Isolate::Scope isolate_scope(context_holder->isolate());
HandleScope handle_scope(context_holder->isolate());
« no previous file with comments | « content/renderer/mojo_main_runner.h ('k') | content/shell/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698