Index: Source/devtools/front_end/profiler/HeapSnapshotView.js |
diff --git a/Source/devtools/front_end/profiler/HeapSnapshotView.js b/Source/devtools/front_end/profiler/HeapSnapshotView.js |
index 85d6ed9f515fcd139b5abb89cf49aece06d5e33d..b7f793d7f83a9f74be5e75a18aa4d8af1152898b 100644 |
--- a/Source/devtools/front_end/profiler/HeapSnapshotView.js |
+++ b/Source/devtools/front_end/profiler/HeapSnapshotView.js |
@@ -904,7 +904,7 @@ WebInspector.HeapSnapshotView.prototype = { |
function didHighlightObject(found) |
{ |
if (!found) |
- WebInspector.console.addErrorMessage("Cannot find corresponding heap snapshot node", true); |
+ WebInspector.console.error("Cannot find corresponding heap snapshot node"); |
} |
}, |
@@ -1583,7 +1583,7 @@ WebInspector.HeapProfileHeader.prototype = { |
if (!accepted) |
return; |
if (this._failedToCreateTempFile) { |
- WebInspector.console.addErrorMessage("Failed to open temp file with heap snapshot"); |
+ WebInspector.console.error("Failed to open temp file with heap snapshot"); |
fileOutputStream.close(); |
} else if (this._tempFile) { |
var delegate = new WebInspector.SaveSnapshotOutputStreamDelegate(this); |
@@ -1707,7 +1707,7 @@ WebInspector.SaveSnapshotOutputStreamDelegate.prototype = { |
*/ |
onError: function(reader, event) |
{ |
- WebInspector.console.addErrorMessage("Failed to read heap snapshot from temp file: " + /** @type {!ErrorEvent} */ (event).message); |
+ WebInspector.console.error("Failed to read heap snapshot from temp file: " + /** @type {!ErrorEvent} */ (event).message); |
this.onTransferFinished(); |
} |
} |