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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
index bd3e1f74116c9b32f21c33addf384872a375bf75..efbb585aab4e0c2e883177847dcb737ee48f5984 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
@@ -443,31 +443,31 @@ Profiler.HeapSnapshotGridNode.Events = {
Profiler.HeapSnapshotGridNode.ChildrenProvider = function() {};
Profiler.HeapSnapshotGridNode.ChildrenProvider.prototype = {
- dispose: function() {},
+ dispose() {},
/**
* @param {number} snapshotObjectId
* @return {!Promise<number>}
*/
- nodePosition: function(snapshotObjectId) {},
+ nodePosition(snapshotObjectId) {},
/**
* @param {function(boolean)} callback
*/
- isEmpty: function(callback) {},
+ isEmpty(callback) {},
/**
* @param {number} startPosition
* @param {number} endPosition
* @param {function(!Profiler.HeapSnapshotCommon.ItemsRange)} callback
*/
- serializeItemsRange: function(startPosition, endPosition, callback) {},
+ serializeItemsRange(startPosition, endPosition, callback) {},
/**
* @param {!Profiler.HeapSnapshotCommon.ComparatorConfig} comparator
* @return {!Promise<?>}
*/
- sortAndRewind: function(comparator) {}
+ sortAndRewind(comparator) {}
};
/**

Powered by Google App Engine
This is Rietveld 408576698