From 974a50613d142a86cfa3c94bd9386d05029dabd0 Mon Sep 17 00:00:00 2001 From: kalman Date: Mon, 9 Mar 2015 15:01:54 -0700 Subject: Make ContentRendererClient::DidCreateScriptContext take a WebLocalFrame. Also extensions::Dispatcher::WillReleaseScriptContext. R=nasko@chromium.org Review URL: https://codereview.chromium.org/985643004 Cr-Commit-Position: refs/heads/master@{#319739} --- extensions/shell/renderer/shell_content_renderer_client.cc | 2 +- extensions/shell/renderer/shell_content_renderer_client.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/shell/renderer') diff --git a/extensions/shell/renderer/shell_content_renderer_client.cc b/extensions/shell/renderer/shell_content_renderer_client.cc index 47e3ad4..519079f 100644 --- a/extensions/shell/renderer/shell_content_renderer_client.cc +++ b/extensions/shell/renderer/shell_content_renderer_client.cc @@ -111,7 +111,7 @@ bool ShellContentRendererClient::WillSendRequest( } void ShellContentRendererClient::DidCreateScriptContext( - WebFrame* frame, + blink::WebLocalFrame* frame, v8::Handle context, int extension_group, int world_id) { diff --git a/extensions/shell/renderer/shell_content_renderer_client.h b/extensions/shell/renderer/shell_content_renderer_client.h index c66dc0a..6b35a12 100644 --- a/extensions/shell/renderer/shell_content_renderer_client.h +++ b/extensions/shell/renderer/shell_content_renderer_client.h @@ -41,7 +41,7 @@ class ShellContentRendererClient : public content::ContentRendererClient { const GURL& url, const GURL& first_party_for_cookies, GURL* new_url) override; - void DidCreateScriptContext(blink::WebFrame* frame, + void DidCreateScriptContext(blink::WebLocalFrame* frame, v8::Handle context, int extension_group, int world_id) override; -- cgit v1.1