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

Unified Diff: third_party/WebKit/Source/modules/worklet/WorkletConsole.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/WorkletConsole.cpp
diff --git a/third_party/WebKit/Source/modules/worklet/WorkletConsole.cpp b/third_party/WebKit/Source/modules/worklet/WorkletConsole.cpp
deleted file mode 100644
index cd70148faddf9c6235c7ba6f3d946cf6b4d8bcc8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/worklet/WorkletConsole.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "modules/worklet/WorkletConsole.h"
-
-#include "core/inspector/ConsoleMessage.h"
-#include "modules/worklet/WorkletGlobalScope.h"
-
-
-namespace blink {
-
-WorkletConsole::WorkletConsole(WorkletGlobalScope* scope)
- : m_scope(scope)
-{
-}
-
-WorkletConsole::~WorkletConsole()
-{
-}
-
-void WorkletConsole::reportMessageToConsole(ConsoleMessage* consoleMessage)
-{
- m_scope->addConsoleMessage(consoleMessage);
-}
-
-ExecutionContext* WorkletConsole::context()
-{
- if (!m_scope)
- return nullptr;
- return m_scope;
-}
-
-DEFINE_TRACE(WorkletConsole)
-{
- visitor->trace(m_scope);
- ConsoleBase::trace(visitor);
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698