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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/StaticViewportControl.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/ui/StaticViewportControl.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/StaticViewportControl.js b/third_party/WebKit/Source/devtools/front_end/ui/StaticViewportControl.js
index cc3396878cb33c7575f6c83a8657ba5a6f26b36e..c01255201b6345c3938e33bf3dd458a4d229241e 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/StaticViewportControl.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/StaticViewportControl.js
@@ -148,14 +148,14 @@ UI.StaticViewportControl.Provider.prototype = {
* @param {number} index
* @return {number}
*/
- fastItemHeight: function(index) {
+ fastItemHeight(index) {
return 0;
},
/**
* @return {number}
*/
- itemCount: function() {
+ itemCount() {
return 0;
},
@@ -163,7 +163,7 @@ UI.StaticViewportControl.Provider.prototype = {
* @param {number} index
* @return {?Element}
*/
- itemElement: function(index) {
+ itemElement(index) {
return null;
}
};

Powered by Google App Engine
This is Rietveld 408576698