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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/Linkifier.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/components/Linkifier.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
index 5e18bbdb21c7ab9f885d6f8de80166b2a25ad8ae..090ba5434e5c9d4f817a63ee6b07313d5cefe7d3 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
@@ -496,7 +496,7 @@ Components.Linkifier.LinkHandler.prototype = {
* @param {number=} lineNumber
* @return {boolean}
*/
- handleLink: function(url, lineNumber) {}
+ handleLink(url, lineNumber) {}
};
/**
@@ -510,7 +510,7 @@ Components.LinkDecorator.prototype = {
* @param {!Workspace.UISourceCode} uiSourceCode
* @return {?UI.Icon}
*/
- linkIcon: function(uiSourceCode) {}
+ linkIcon(uiSourceCode) {}
};
Components.LinkDecorator.Events = {

Powered by Google App Engine
This is Rietveld 408576698