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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.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/ProfilesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
index 95dfcdb28be5f36df7ed795a15a80976290c1baa..739d9bdbd6af34bfc4154ae4d5c10dcdce485123 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
@@ -260,13 +260,13 @@ Profiler.ProfileType.DataDisplayDelegate.prototype = {
* @param {?Profiler.ProfileHeader} profile
* @return {?UI.Widget}
*/
- showProfile: function(profile) {},
+ showProfile(profile) {},
/**
* @param {!Protocol.HeapProfiler.HeapSnapshotObjectId} snapshotObjectId
* @param {string} perspectiveName
*/
- showObject: function(snapshotObjectId, perspectiveName) {}
+ showObject(snapshotObjectId, perspectiveName) {}
};
/**

Powered by Google App Engine
This is Rietveld 408576698