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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.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/workers/WorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
index ffbced6bc2c2225904e724cfbc8441d15e815c48..7a6f3cec27dc3df41baa6a1c86f6327980699afe 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
@@ -55,7 +55,6 @@
#include "core/loader/WorkerThreadableLoader.h"
#include "core/workers/WorkerNavigator.h"
#include "core/workers/WorkerClients.h"
-#include "core/workers/WorkerConsole.h"
#include "core/workers/WorkerLoaderProxy.h"
#include "core/workers/WorkerLocation.h"
#include "core/workers/WorkerNavigator.h"
@@ -164,13 +163,6 @@ void WorkerGlobalScope::close()
m_closing = true;
}
-WorkerConsole* WorkerGlobalScope::console()
-{
- if (!m_console)
- m_console = WorkerConsole::create(this);
- return m_console.get();
-}
-
WorkerNavigator* WorkerGlobalScope::navigator() const
{
if (!m_navigator)
@@ -415,7 +407,6 @@ v8::Local<v8::Object> WorkerGlobalScope::associateWithWrapper(v8::Isolate*, cons
DEFINE_TRACE(WorkerGlobalScope)
{
- visitor->trace(m_console);
visitor->trace(m_location);
visitor->trace(m_navigator);
visitor->trace(m_scriptController);

Powered by Google App Engine
This is Rietveld 408576698