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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/OutputStream.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/common/OutputStream.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/OutputStream.js b/third_party/WebKit/Source/devtools/front_end/common/OutputStream.js
index ca0d2ee0411fb459f7c7b16791cfa0d264108188..e277a07e0a044494aac0504940d73afee0b1317a 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/OutputStream.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/OutputStream.js
@@ -11,9 +11,9 @@ Common.OutputStream.prototype = {
* @param {string} data
* @param {function(!Common.OutputStream)=} callback
*/
- write: function(data, callback) {},
+ write(data, callback) {},
- close: function() {}
+ close() {}
};
/**

Powered by Google App Engine
This is Rietveld 408576698