Index: Source/devtools/front_end/profiler/CPUProfileView.js |
diff --git a/Source/devtools/front_end/profiler/CPUProfileView.js b/Source/devtools/front_end/profiler/CPUProfileView.js |
index 7e82e28578c5fa9731b047da391a3924af1f78d8..7712efc8f68eeada1dbec37663310e2336ce86ec 100644 |
--- a/Source/devtools/front_end/profiler/CPUProfileView.js |
+++ b/Source/devtools/front_end/profiler/CPUProfileView.js |
@@ -817,7 +817,7 @@ WebInspector.CPUProfileHeader.prototype = { |
fileOutputStream.close(); |
} |
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) { |
this._tempFile.read(didRead); |