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