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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: all tests pass Created 4 years, 6 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/WorkerInspectorProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
index c640a4a6ae139af996329f988f9855e07a5d1b48..f1506d35fffb36e1d8cf47a7f49015cc3fc2db81 100644
--- a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
@@ -111,11 +111,6 @@ void WorkerInspectorProxy::workerConsoleAgentEnabled()
void WorkerInspectorProxy::addConsoleMessageFromWorker(ConsoleMessage* consoleMessage)
{
- if (consoleMessage->type() == ClearMessageType) {
- m_consoleMessages.clear();
- return;
- }
-
if (!m_ignoreConsoleMessages) {
DCHECK(m_consoleMessages.size() <= maxConsoleMessageCount);
if (m_consoleMessages.size() == maxConsoleMessageCount)

Powered by Google App Engine
This is Rietveld 408576698