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

Unified Diff: Source/devtools/front_end/sdk/StylesSourceMapping.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/sdk/SASSSourceMapping.js ('k') | Source/devtools/front_end/sdk/TempFile.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/StylesSourceMapping.js
diff --git a/Source/devtools/front_end/sdk/StylesSourceMapping.js b/Source/devtools/front_end/sdk/StylesSourceMapping.js
index 03d5ff8b9a24aa3dc82f6c112e6bd8860f1cd032..bce7356170b7c07e16d1526879fe2b7d0eaff7ad 100644
--- a/Source/devtools/front_end/sdk/StylesSourceMapping.js
+++ b/Source/devtools/front_end/sdk/StylesSourceMapping.js
@@ -398,7 +398,7 @@ WebInspector.StyleFile.prototype = {
_styleContentSet: function(error)
{
if (error)
- WebInspector.console.showErrorMessage(error);
+ this._mapping._cssModel.target().consoleModel.showErrorMessage(error);
delete this._isSettingContent;
this._maybeProcessChange();
},
« no previous file with comments | « Source/devtools/front_end/sdk/SASSSourceMapping.js ('k') | Source/devtools/front_end/sdk/TempFile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698