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

Unified Diff: Source/devtools/front_end/sdk/TimelineManager.js

Issue 298333003: DevTools: Implement console message logging through an extension (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Implement a common MessageSink Created 6 years, 7 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/devtools/front_end/sdk/TimelineManager.js
diff --git a/Source/devtools/front_end/sdk/TimelineManager.js b/Source/devtools/front_end/sdk/TimelineManager.js
index 70b97bc6ca6b7b5a09531230c10ebe3ce9a0b212..e290a94ee5acfc28f23677bb13b9064463ab4055 100644
--- a/Source/devtools/front_end/sdk/TimelineManager.js
+++ b/Source/devtools/front_end/sdk/TimelineManager.js
@@ -155,7 +155,7 @@ WebInspector.TimelineManager.prototype = {
function didChangeInterval(error)
{
if (error)
- WebInspector.console.showErrorMessage(error);
+ WebInspector.messageSink.addErrorMessage(error, true);
sergeyv 2014/05/29 12:44:06 ditto
apavlov 2014/05/29 13:47:46 Done.
}
},

Powered by Google App Engine
This is Rietveld 408576698