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

Unified Diff: chrome/renderer/principals_extension_bindings.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
« no previous file with comments | « chrome/renderer/loadtimes_extension_bindings.cc ('k') | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/principals_extension_bindings.cc
diff --git a/chrome/renderer/principals_extension_bindings.cc b/chrome/renderer/principals_extension_bindings.cc
index 0db701acc70e6004ab5cc0b7dd8a4fa55e0d777d..33ef1c07e0ed448a1cc847ebbe537a555ee7a515 100644
--- a/chrome/renderer/principals_extension_bindings.cc
+++ b/chrome/renderer/principals_extension_bindings.cc
@@ -7,11 +7,11 @@
#include "chrome/common/render_messages.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;
@@ -79,7 +79,7 @@ void PrincipalsExtensionWrapper::GetManagedAccounts(
std::vector<std::string> accounts;
render_view->Send(new ChromeViewHostMsg_GetManagedAccounts(
- WebFrame::frameForCurrentContext()->document().url(),
+ WebLocalFrame::frameForCurrentContext()->document().url(),
&accounts));
v8::Isolate* isolate = args.GetIsolate();
@@ -104,7 +104,7 @@ void PrincipalsExtensionWrapper::ShowBrowserAccountManagementUI(
}
RenderView* PrincipalsExtensionWrapper::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)
« no previous file with comments | « chrome/renderer/loadtimes_extension_bindings.cc ('k') | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698