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

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: 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 3359b2266711d77045522630045c3d291fb7dc7c..624a5617b270b35731b43d6444cfaeb5de022fdb 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);

Powered by Google App Engine
This is Rietveld 408576698