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

Unified Diff: Source/devtools/front_end/profiler/HeapSnapshotProxy.js

Issue 396993003: DevTools: get rid of WebInspector.cssModel, use target models instead (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/profiler/HeapSnapshotProxy.js
diff --git a/Source/devtools/front_end/profiler/HeapSnapshotProxy.js b/Source/devtools/front_end/profiler/HeapSnapshotProxy.js
index 63263fcd483908d4b876efac7fe7970457031593..90b6e24b3bd3287a7d45ec016aa9717d085a6ece 100644
--- a/Source/devtools/front_end/profiler/HeapSnapshotProxy.js
+++ b/Source/devtools/front_end/profiler/HeapSnapshotProxy.js
@@ -159,8 +159,8 @@ WebInspector.HeapSnapshotWorkerProxy.prototype = {
}
if (data.error) {
if (data.errorMethodName)
- WebInspector.console.addErrorMessage(WebInspector.UIString("An error occurred when a call to method '%s' was requested", data.errorMethodName));
- WebInspector.console.addErrorMessage(data["errorCallStack"]);
+ WebInspector.console.error(WebInspector.UIString("An error occurred when a call to method '%s' was requested", data.errorMethodName));
+ WebInspector.console.error(data["errorCallStack"]);
delete this._callbacks[data.callId];
return;
}
« no previous file with comments | « Source/devtools/front_end/profiler/CanvasProfileView.js ('k') | Source/devtools/front_end/profiler/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698