Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1189)

Unified Diff: Source/core/loader/FrameLoader.cpp

Issue 900543003: DevTools: do not abuse inspector controller for the front-end side plumbing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed initializer. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/loader/FrameLoader.cpp
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
index f7cb637357a04c1058d21e4bdbac60423d931a23..4cd3b00384238913c156992f87816bc39a20a31c 100644
--- a/Source/core/loader/FrameLoader.cpp
+++ b/Source/core/loader/FrameLoader.cpp
@@ -1362,8 +1362,6 @@ void FrameLoader::dispatchDidClearDocumentOfWindowObject()
if (!m_frame->script().canExecuteScripts(NotAboutToExecuteScript))
return;
- if (Page* page = m_frame->page())
- page->inspectorController().didClearDocumentOfWindowObject(m_frame);
InspectorInstrumentation::didClearDocumentOfWindowObject(m_frame);
// We just cleared the document, not the entire window object, but for the
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/modules/filesystem/DevToolsHostFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698