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

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: added missing tests 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 e74f777a1b2fafa3d4197bed9201cb419325b621..73b715f7f71415f511f802e0a8497876d75e9681 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)
@@ -414,7 +406,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