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

Unified Diff: Source/devtools/front_end/common/Settings.js

Issue 298333003: DevTools: Implement console message logging through an extension (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove duplicate logging 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
« no previous file with comments | « Source/devtools/front_end/common/MessageSink.js ('k') | Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/common/Settings.js
diff --git a/Source/devtools/front_end/common/Settings.js b/Source/devtools/front_end/common/Settings.js
index 126022a6a250f2a4b058ff0b1b7a7463eaa2bc3d..e264cdcf783eddd8dadee50bed16f4944b26e212 100644
--- a/Source/devtools/front_end/common/Settings.js
+++ b/Source/devtools/front_end/common/Settings.js
@@ -283,7 +283,7 @@ WebInspector.BackendSetting.prototype = {
function callback(error)
{
if (error) {
- WebInspector.console.log("Error applying setting " + this._name + ": " + error);
+ WebInspector.messageSink.addErrorMessage("Error applying setting " + this._name + ": " + error);
this._eventSupport.dispatchEventToListeners(this._name, this._value);
return;
}
« no previous file with comments | « Source/devtools/front_end/common/MessageSink.js ('k') | Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698