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

Unified Diff: third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.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/modules/worklet/WorkletGlobalScope.cpp
diff --git a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp
index 06d828bdbfa4b840c783fafc1abffd0dac8b199a..243b164bd41b2cf1d8971d25681b36b95d10239b 100644
--- a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp
+++ b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp
@@ -8,7 +8,6 @@
#include "core/frame/FrameConsole.h"
#include "core/inspector/InspectorInstrumentation.h"
#include "core/inspector/MainThreadDebugger.h"
-#include "modules/worklet/WorkletConsole.h"
namespace blink {
@@ -35,13 +34,6 @@ void WorkletGlobalScope::dispose()
m_scriptController.clear();
}
-WorkletConsole* WorkletGlobalScope::console()
-{
- if (!m_console)
- m_console = WorkletConsole::create(this);
- return m_console.get();
-}
-
v8::Local<v8::Object> WorkletGlobalScope::wrap(v8::Isolate*, v8::Local<v8::Object> creationContext)
{
// WorkletGlobalScope must never be wrapped with wrap method. The global
@@ -104,7 +96,6 @@ KURL WorkletGlobalScope::virtualCompleteURL(const String& url) const
DEFINE_TRACE(WorkletGlobalScope)
{
visitor->trace(m_scriptController);
- visitor->trace(m_console);
ExecutionContext::trace(visitor);
SecurityContext::trace(visitor);
MainThreadWorkletGlobalScope::trace(visitor);

Powered by Google App Engine
This is Rietveld 408576698