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

Unified Diff: chrome/renderer/loadtimes_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/external_extension.cc ('k') | chrome/renderer/principals_extension_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/loadtimes_extension_bindings.cc
diff --git a/chrome/renderer/loadtimes_extension_bindings.cc b/chrome/renderer/loadtimes_extension_bindings.cc
index 1737e0b0db26e327b4132decd3486f427c0d7e95..e29370eff061522fa7850d3c6bc6299cc79309d5 100644
--- a/chrome/renderer/loadtimes_extension_bindings.cc
+++ b/chrome/renderer/loadtimes_extension_bindings.cc
@@ -9,11 +9,11 @@
#include "base/time/time.h"
#include "content/public/renderer/document_state.h"
#include "net/http/http_response_info.h"
-#include "third_party/WebKit/public/web/WebFrame.h"
+#include "third_party/WebKit/public/web/WebLocalFrame.h"
#include "v8/include/v8.h"
using blink::WebDataSource;
-using blink::WebFrame;
+using blink::WebLocalFrame;
using blink::WebNavigationType;
using content::DocumentState;
@@ -98,7 +98,7 @@ class LoadTimesExtensionWrapper : public v8::Extension {
}
static void GetLoadTimes(const v8::FunctionCallbackInfo<v8::Value>& args) {
- WebFrame* frame = WebFrame::frameForCurrentContext();
+ WebLocalFrame* frame = WebLocalFrame::frameForCurrentContext();
if (frame) {
WebDataSource* data_source = frame->dataSource();
if (data_source) {
@@ -167,7 +167,7 @@ class LoadTimesExtensionWrapper : public v8::Extension {
}
static void GetCSI(const v8::FunctionCallbackInfo<v8::Value>& args) {
- WebFrame* frame = WebFrame::frameForCurrentContext();
+ WebLocalFrame* frame = WebLocalFrame::frameForCurrentContext();
if (frame) {
WebDataSource* data_source = frame->dataSource();
if (data_source) {
« no previous file with comments | « chrome/renderer/external_extension.cc ('k') | chrome/renderer/principals_extension_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698