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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improved api a bit Created 4 years, 6 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: third_party/WebKit/Source/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index a2829b0850ff53af7d2953bf84f2395c97ec44f9..5477e36ce1ea3d8a125d719ce31674013aed88ad 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -50,7 +50,6 @@
#include "core/html/HTMLFrameElementBase.h"
#include "core/html/HTMLPlugInElement.h"
#include "core/input/EventHandler.h"
-#include "core/inspector/ConsoleMessageStorage.h"
#include "core/inspector/InspectorInstrumentation.h"
#include "core/layout/HitTestResult.h"
#include "core/layout/LayoutView.h"
@@ -478,8 +477,6 @@ void LocalFrame::setDOMWindow(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())
- host()->consoleMessageStorage().frameWindowDiscarded(m_domWindow.get());
if (domWindow)
script().clearWindowProxy();

Powered by Google App Engine
This is Rietveld 408576698