diff options
Diffstat (limited to 'chrome/renderer/extensions/bindings_utils.cc')
-rw-r--r-- | chrome/renderer/extensions/bindings_utils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/renderer/extensions/bindings_utils.cc b/chrome/renderer/extensions/bindings_utils.cc index ee4688d..097c8d0 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; |