Index: chrome/renderer/loadtimes_extension_bindings.cc |
diff --git a/chrome/renderer/loadtimes_extension_bindings.cc b/chrome/renderer/loadtimes_extension_bindings.cc |
index 49f2b25d67bf7eca0285c9350031c92b7f39668b..6acbbe6baf455f9dcfd7258e91e36c3505070f9e 100644 |
--- a/chrome/renderer/loadtimes_extension_bindings.cc |
+++ b/chrome/renderer/loadtimes_extension_bindings.cc |
@@ -55,7 +55,7 @@ class LoadTimesExtensionWrapper : public v8::Extension { |
} |
static v8::Handle<v8::Value> GetLoadTimes(const v8::Arguments& args) { |
- WebFrame* win_frame = WebFrame::RetrieveActiveFrame(); |
+ WebFrame* win_frame = WebFrame::RetrieveFrameForEnteredContext(); |
if (win_frame) { |
WebDataSource* data_source = win_frame->GetDataSource(); |
if (data_source) { |