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

Unified Diff: content/renderer/mojo_context_state.cc

Issue 2869663002: ResourceFetcher::Start should be given a WebLocalFrame (Closed)
Patch Set: fix Created 3 years, 7 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_context_state.h ('k') | content/renderer/resource_fetcher_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mojo_context_state.cc
diff --git a/content/renderer/mojo_context_state.cc b/content/renderer/mojo_context_state.cc
index 8296cd4c2a13f1a8db99c711d5c1937501e18aeb..1263c49eca525197a43b6d6e21a0ae0450cbb476 100644
--- a/content/renderer/mojo_context_state.cc
+++ b/content/renderer/mojo_context_state.cc
@@ -29,7 +29,7 @@
#include "mojo/public/js/constants.h"
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
#include "third_party/WebKit/public/platform/WebURLResponse.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;
@@ -109,7 +109,7 @@ scoped_refptr<base::RefCountedMemory> GetBuiltinModuleData(
}
std::string GetModulePrefixForBindingsType(MojoBindingsType bindings_type,
- blink::WebFrame* frame) {
+ blink::WebLocalFrame* frame) {
switch (bindings_type) {
case MojoBindingsType::FOR_WEB_UI:
return frame->GetSecurityOrigin().ToString().Utf8() + "/";
@@ -124,7 +124,7 @@ std::string GetModulePrefixForBindingsType(MojoBindingsType bindings_type,
} // namespace
-MojoContextState::MojoContextState(blink::WebFrame* frame,
+MojoContextState::MojoContextState(blink::WebLocalFrame* frame,
v8::Local<v8::Context> context,
MojoBindingsType bindings_type)
: frame_(frame),
« no previous file with comments | « content/renderer/mojo_context_state.h ('k') | content/renderer/resource_fetcher_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698