Index: chrome/renderer/extensions/bindings_utils.cc |
diff --git a/chrome/renderer/extensions/bindings_utils.cc b/chrome/renderer/extensions/bindings_utils.cc |
index ee4688dd915bf46f3286ee1c331350785ed09514..097c8d0a9fa8fbb92267cddf93cd8c90c13c8db7 100644 |
--- a/chrome/renderer/extensions/bindings_utils.cc |
+++ b/chrome/renderer/extensions/bindings_utils.cc |
@@ -7,9 +7,9 @@ |
#include "chrome/renderer/render_view.h" |
#include "webkit/glue/webframe.h" |
-RenderView* GetActiveRenderView() { |
- WebFrame* webframe = WebFrame::RetrieveActiveFrame(); |
- DCHECK(webframe) << "GetActiveRenderView called when not in a V8 context."; |
+RenderView* GetRenderViewForCurrentContext() { |
+ WebFrame* webframe = WebFrame::RetrieveFrameForCurrentContext(); |
+ DCHECK(webframe) << "RetrieveCurrentFrame called when not in a V8 context."; |
if (!webframe) |
return NULL; |