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

Unified Diff: chrome/renderer/external_extension.cc

Issue 231793004: Update a few more references to WebFrame to use WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again Created 6 years, 8 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: chrome/renderer/external_extension.cc
diff --git a/chrome/renderer/external_extension.cc b/chrome/renderer/external_extension.cc
index ece756f74adb493aed7818a7753cf5d8b666a320..dce3b9e9f840cd00c8a428d6a1f0b4f28860a218 100644
--- a/chrome/renderer/external_extension.cc
+++ b/chrome/renderer/external_extension.cc
@@ -8,11 +8,11 @@
#include "chrome/common/search_provider.h"
#include "content/public/renderer/render_view.h"
#include "third_party/WebKit/public/web/WebDocument.h"
-#include "third_party/WebKit/public/web/WebFrame.h"
+#include "third_party/WebKit/public/web/WebLocalFrame.h"
#include "third_party/WebKit/public/web/WebView.h"
#include "v8/include/v8.h"
-using blink::WebFrame;
+using blink::WebLocalFrame;
using blink::WebView;
using content::RenderView;
@@ -82,7 +82,7 @@ ExternalExtensionWrapper::GetNativeFunctionTemplate(
// static
RenderView* ExternalExtensionWrapper::GetRenderView() {
- WebFrame* webframe = WebFrame::frameForCurrentContext();
+ WebLocalFrame* webframe = WebLocalFrame::frameForCurrentContext();
DCHECK(webframe) << "There should be an active frame since we just got "
"a native function called.";
if (!webframe) return NULL;
@@ -123,7 +123,7 @@ void ExternalExtensionWrapper::IsSearchProviderInstalled(
RenderView* render_view = GetRenderView();
if (!render_view) return;
- WebFrame* webframe = WebFrame::frameForCurrentContext();
+ WebLocalFrame* webframe = WebLocalFrame::frameForCurrentContext();
if (!webframe) return;
search_provider::InstallState install = search_provider::DENIED;
« no previous file with comments | « chrome/renderer/extensions/sync_file_system_custom_bindings.cc ('k') | chrome/renderer/loadtimes_extension_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698