Chromium Code Reviews| Index: Source/bindings/v8/PageScriptDebugServer.cpp |
| diff --git a/Source/bindings/v8/PageScriptDebugServer.cpp b/Source/bindings/v8/PageScriptDebugServer.cpp |
| index 0461708ba3daf39390e52b319d994a1796448216..fe90a1e2a93aa0df3370bf6942b06d04d6f993d5 100644 |
| --- a/Source/bindings/v8/PageScriptDebugServer.cpp |
| +++ b/Source/bindings/v8/PageScriptDebugServer.cpp |
| @@ -109,7 +109,8 @@ PageScriptDebugServer::~PageScriptDebugServer() |
| void PageScriptDebugServer::addListener(ScriptDebugListener* listener, Page* page) |
| { |
| - ScriptController& scriptController = page->mainFrame()->script(); |
| + // FIXME: Broken for OOPI. |
|
abarth-chromium
2014/06/15 00:33:11
Rather than having a comment everywhere, can we ad
dcheng
2014/06/15 02:58:33
Done.
|
| + ScriptController& scriptController = toLocalFrame(page->mainFrame())->script(); |
| if (!scriptController.canExecuteScripts(NotAboutToExecuteScript)) |
| return; |