Index: webkit/glue/devtools/debugger_agent_manager.cc |
diff --git a/webkit/glue/devtools/debugger_agent_manager.cc b/webkit/glue/devtools/debugger_agent_manager.cc |
index aa692aaa53c6682b8e293a61d01ad586f3afa91d..41461c8ad4c1307f8daa4d12ebb53a56f460b20c 100644 |
--- a/webkit/glue/devtools/debugger_agent_manager.cc |
+++ b/webkit/glue/devtools/debugger_agent_manager.cc |
@@ -235,7 +235,7 @@ DebuggerAgentImpl* DebuggerAgentManager::FindAgentForCurrentV8Context() { |
} |
DCHECK(!attached_agents_->isEmpty()); |
- WebCore::Frame* frame = WebCore::V8Proxy::retrieveActiveFrame(); |
+ WebCore::Frame* frame = WebCore::V8Proxy::retrieveFrameForEnteredContext(); |
if (!frame) { |
return NULL; |
} |