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

Unified Diff: Source/core/dom/AddConsoleMessageTask.cpp

Issue 419203004: DevTools: wrapping arguments addConsoleMessage in ConsoleMessage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@wrap-not-all-console-args
Patch Set: Created 6 years, 4 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: Source/core/dom/AddConsoleMessageTask.cpp
diff --git a/Source/core/dom/AddConsoleMessageTask.cpp b/Source/core/dom/AddConsoleMessageTask.cpp
index c0b24daf757b73db55b07e71d260cc4b3c16f4f2..5b44bdf28b2fc677d1812c7d3f3f32d8576ccf3b 100644
--- a/Source/core/dom/AddConsoleMessageTask.cpp
+++ b/Source/core/dom/AddConsoleMessageTask.cpp
@@ -28,12 +28,13 @@
#include "core/dom/AddConsoleMessageTask.h"
#include "core/dom/ExecutionContext.h"
+#include "core/inspector/ConsoleMessage.h"
namespace blink {
void AddConsoleMessageTask::performTask(ExecutionContext* context)
{
- context->addConsoleMessage(m_source, m_level, m_message);
+ context->addConsoleMessage(ConsoleMessage::create(m_source, m_level, m_message));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698