summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/external_extension.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/external_extension.cc')
-rw-r--r--chrome/renderer/external_extension.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/external_extension.cc b/chrome/renderer/external_extension.cc
index 378e78e..100f311 100644
--- a/chrome/renderer/external_extension.cc
+++ b/chrome/renderer/external_extension.cc
@@ -35,7 +35,7 @@ class ExternalExtensionWrapper : public v8::Extension {
if (!args.Length())
return v8::Undefined();
- WebFrame* webframe = WebFrame::RetrieveActiveFrame();
+ WebFrame* webframe = WebFrame::RetrieveFrameForEnteredContext();
DCHECK(webframe) << "There should be an active frame since we just got "
"a native function called.";
if (!webframe) return v8::Undefined();