Index: Source/core/inspector/InspectorPageAgent.cpp |
diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp |
index 9b23374ca46dc52040de08e230f9fac192755fc6..f7389da3c962074b82020d3947aa497f1eb13a35 100644 |
--- a/Source/core/inspector/InspectorPageAgent.cpp |
+++ b/Source/core/inspector/InspectorPageAgent.cpp |
@@ -829,7 +829,7 @@ void InspectorPageAgent::setScriptExecutionDisabled(ErrorString*, bool value) |
} |
} |
-void InspectorPageAgent::didClearWindowObjectInMainWorld(LocalFrame* frame) |
+void InspectorPageAgent::didClearDocumentOfWindowObject(LocalFrame* frame) |
{ |
if (frame == m_page->mainFrame()) |
m_injectedScriptManager->discardInjectedScripts(); |