Index: third_party/WebKit/Source/devtools/front_end/main/Main.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
index eb7fcc5d43cba79e1a634973863f2e198d52be6c..737d230ca027327f49c307f66e105aaa232d8e4c 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js |
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
@@ -303,7 +303,7 @@ WebInspector.Main.prototype = { |
InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.ReloadInspectedPage, this._reloadInspectedPage, this); |
InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.EvaluateForTestInFrontend, this._evaluateForTestInFrontend, this); |
- this._mainTarget.runtimeAgent().run(); |
+ this._mainTarget.runtimeAgent().runIfWaitingForDebugger(); |
if (this._mainTarget.hasBrowserCapability()) |
this._mainTarget.inspectorAgent().enable(); |