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); |