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

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

Issue 308643003: DevTools: [JSDoc] Avoid partial arg list annotations in the "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
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 c8dc7be17e1f70e21fb9e72df73346bac160485a..46ba23ae7ecab4a659195d46b27e4e96cc3f2ecb 100644
--- a/Source/devtools/front_end/profiler/HeapSnapshotView.js
+++ b/Source/devtools/front_end/profiler/HeapSnapshotView.js
@@ -1744,6 +1744,7 @@ WebInspector.HeapSnapshotLoadFromFileDelegate.prototype = {
/**
* @param {!WebInspector.ChunkedReader} reader
+ * @param {?Event} e
*/
onError: function (reader, e)
{
@@ -1795,10 +1796,11 @@ WebInspector.SaveSnapshotOutputStreamDelegate.prototype = {
/**
* @param {!WebInspector.ChunkedReader} reader
+ * @param {?Event} event
*/
onError: function(reader, event)
{
- WebInspector.messageSink.addErrorMessage("Failed to read heap snapshot from temp file: " + event.message);
+ WebInspector.messageSink.addErrorMessage("Failed to read heap snapshot from temp file: " + /** @type {!ErrorEvent} */ (event).message);
this.onTransferFinished();
}
}
« no previous file with comments | « Source/devtools/front_end/profiler/HeapSnapshotProxy.js ('k') | Source/devtools/front_end/profiler/ProfileLauncherView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698