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

Unified Diff: chrome/renderer/extensions/app_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
Index: chrome/renderer/extensions/app_bindings.cc
diff --git a/chrome/renderer/extensions/app_bindings.cc b/chrome/renderer/extensions/app_bindings.cc
index 26252bda4d84f083a845215e38cf223d4be1e15b..3b6a7a40c7dfe39f0b7ae37d55d092499c2e4d82 100644
--- a/chrome/renderer/extensions/app_bindings.cc
+++ b/chrome/renderer/extensions/app_bindings.cc
@@ -22,10 +22,11 @@
#include "extensions/common/manifest.h"
#include "grit/renderer_resources.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 "v8/include/v8.h"
using blink::WebFrame;
+using blink::WebLocalFrame;
using content::V8ValueConverter;
namespace extensions {
@@ -110,7 +111,7 @@ void AppBindings::GetDetailsForFrame(
v8::Local<v8::Object>::Cast(args[0])->CreationContext();
CHECK(!context.IsEmpty());
- WebFrame* target_frame = WebFrame::frameForContext(context);
+ WebLocalFrame* target_frame = WebLocalFrame::frameForContext(context);
if (!target_frame) {
console::Error(args.GetIsolate()->GetCallingContext(),
"Could not find frame for specified object.");

Powered by Google App Engine
This is Rietveld 408576698