Chromium Code Reviews| Index: Source/core/inspector/InspectorPageAgent.cpp |
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp |
| index d218e8ba0629fef86666b44d659f2a4cdd9785b2..c87869751d6a412342af6750cebeacb6a423675b 100644 |
| --- a/Source/core/inspector/InspectorPageAgent.cpp |
| +++ b/Source/core/inspector/InspectorPageAgent.cpp |
| @@ -982,9 +982,6 @@ void InspectorPageAgent::setScriptExecutionDisabled(ErrorString*, bool value) |
| void InspectorPageAgent::didClearDocumentOfWindowObject(LocalFrame* frame) |
| { |
| - if (frame == m_page->mainFrame()) |
| - m_injectedScriptManager->discardInjectedScripts(); |
|
yurys
2014/11/12 08:47:22
Let's move it at some earlier point on the navigat
|
| - |
| if (!m_frontend) |
| return; |