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

Unified Diff: Source/devtools/front_end/sources/UISourceCodeFrame.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/sources/UISourceCodeFrame.js
diff --git a/Source/devtools/front_end/sources/UISourceCodeFrame.js b/Source/devtools/front_end/sources/UISourceCodeFrame.js
index afee9170c2644ddc48b47203ba4a6e7310389da8..782325215ac1b0e5b7a9d0f9ad4e4023bbabce60 100644
--- a/Source/devtools/front_end/sources/UISourceCodeFrame.js
+++ b/Source/devtools/front_end/sources/UISourceCodeFrame.js
@@ -124,7 +124,7 @@ WebInspector.UISourceCodeFrame.prototype = {
_didEditContent: function(error)
{
if (error) {
- WebInspector.console.log(error, WebInspector.ConsoleMessage.MessageLevel.Error, true);
+ WebInspector.messageSink.addErrorMessage(error, true);
return;
}
},

Powered by Google App Engine
This is Rietveld 408576698