Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 12bb49b85fc5f79348562943e4c7cc491071d970..3501b33ddc2e8fec030359029388475e406421ae 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -340,10 +340,8 @@ void LocalFrame::setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow> domWindow) |
// die with the window. And the registered DOMWindowProperty instances that don't, |
// only keep a weak reference to this frame, so there's no need to be |
// explicitly notified that this frame is going away. |
- if (m_domWindow && host()) { |
+ if (m_domWindow && host()) |
host()->consoleMessageStorage().frameWindowDiscarded(m_domWindow.get()); |
- InspectorInstrumentation::frameWindowDiscarded(this, m_domWindow.get()); |
- } |
if (domWindow) |
script().clearWindowProxy(); |