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

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

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index c148399a89b19b25f890f931779716a4e00c4229..e7f6e39f79a1896598b0361f5c9b25a80d2386fc 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -48,7 +48,6 @@
#include "core/events/PopStateEvent.h"
#include "core/events/ScopedEventQueue.h"
#include "core/frame/BarProp.h"
-#include "core/frame/Console.h"
#include "core/frame/EventHandlerRegistry.h"
#include "core/frame/FrameConsole.h"
#include "core/frame/FrameView.h"
@@ -531,7 +530,6 @@ void LocalDOMWindow::reset()
m_scrollbars = nullptr;
m_statusbar = nullptr;
m_toolbar = nullptr;
- m_console = nullptr;
m_navigator = nullptr;
m_media = nullptr;
m_customElements = nullptr;
@@ -634,13 +632,6 @@ BarProp* LocalDOMWindow::toolbar() const
return m_toolbar.get();
}
-Console* LocalDOMWindow::console() const
-{
- if (!m_console)
- m_console = Console::create(frame());
- return m_console.get();
-}
-
FrameConsole* LocalDOMWindow::frameConsole() const
{
if (!isCurrentlyDisplayedInFrame())
@@ -1491,7 +1482,6 @@ DEFINE_TRACE(LocalDOMWindow)
visitor->trace(m_scrollbars);
visitor->trace(m_statusbar);
visitor->trace(m_toolbar);
- visitor->trace(m_console);
visitor->trace(m_navigator);
visitor->trace(m_media);
visitor->trace(m_customElements);
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.h ('k') | third_party/WebKit/Source/core/frame/RemoteDOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698