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

Unified Diff: content/renderer/gpu/gpu_benchmarking_extension.cc

Issue 11111004: Remove all callers of WebFrame::frameForEnteredContext (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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/searchbox/searchbox_extension.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/gpu_benchmarking_extension.cc
diff --git a/content/renderer/gpu/gpu_benchmarking_extension.cc b/content/renderer/gpu/gpu_benchmarking_extension.cc
index a7bbfe57604593761d807ef6bea0fc891833a457..a781decb48162a55b0ff89a60e86b6af8b486502 100644
--- a/content/renderer/gpu/gpu_benchmarking_extension.cc
+++ b/content/renderer/gpu/gpu_benchmarking_extension.cc
@@ -177,7 +177,7 @@ class GpuBenchmarkingWrapper : public v8::Extension {
static v8::Handle<v8::Value> GetRenderingStats(const v8::Arguments& args) {
- WebFrame* web_frame = WebFrame::frameForEnteredContext();
+ WebFrame* web_frame = WebFrame::frameForCurrentContext();
if (!web_frame)
return v8::Undefined();
@@ -210,7 +210,7 @@ class GpuBenchmarkingWrapper : public v8::Extension {
if (dirname.length() == 0)
return v8::Undefined();
- WebFrame* web_frame = WebFrame::frameForEnteredContext();
+ WebFrame* web_frame = WebFrame::frameForCurrentContext();
if (!web_frame)
return v8::Undefined();
@@ -254,7 +254,7 @@ class GpuBenchmarkingWrapper : public v8::Extension {
}
static v8::Handle<v8::Value> BeginSmoothScroll(const v8::Arguments& args) {
- WebFrame* web_frame = WebFrame::frameForEnteredContext();
+ WebFrame* web_frame = WebFrame::frameForCurrentContext();
if (!web_frame)
return v8::Undefined();
@@ -337,7 +337,7 @@ class GpuBenchmarkingWrapper : public v8::Extension {
name_filter = std::string(filter);
}
- WebFrame* web_frame = WebFrame::frameForEnteredContext();
+ WebFrame* web_frame = WebFrame::frameForCurrentContext();
if (!web_frame)
return v8::Undefined();
« no previous file with comments | « chrome/renderer/searchbox/searchbox_extension.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698