Index: webkit/glue/webdevtoolsclient_impl.cc |
diff --git a/webkit/glue/webdevtoolsclient_impl.cc b/webkit/glue/webdevtoolsclient_impl.cc |
index d8870225a8e03f877558a9b3822a56ed462e279c..4ed0487277928ff2a0f03fd0d217a175fde23936 100644 |
--- a/webkit/glue/webdevtoolsclient_impl.cc |
+++ b/webkit/glue/webdevtoolsclient_impl.cc |
@@ -197,7 +197,7 @@ v8::Handle<v8::Value> WebDevToolsClientImpl::JsAddSourceToFrame( |
return v8::Undefined(); |
} |
- Page* page = V8Proxy::retrieveActiveFrame()->page(); |
+ Page* page = V8Proxy::retrieveFrameForEnteredContext()->page(); |
InspectorController* inspectorController = page->inspectorController(); |
return WebCore::v8Boolean(inspectorController-> |
addSourceToFrame(mime_type, source_string, node)); |