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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/IndexedDBModel.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (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/resources/IndexedDBModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBModel.js b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBModel.js
index 503682cd10f85396f734384eb56e0d2a5dc2dd92..c8945a5c85199f57046af72d6c5bbd71119ed36d 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBModel.js
@@ -507,11 +507,11 @@ WebInspector.IndexedDBModel.ObjectStore = function(name, keyPath, autoIncrement)
WebInspector.IndexedDBModel.ObjectStore.prototype = {
/**
- * @type {string}
+ * @return {string}
*/
get keyPathString()
{
- return WebInspector.IndexedDBModel.keyPathStringFromIDBKeyPath(this.keyPath);
+ return /** @type {string}*/ (WebInspector.IndexedDBModel.keyPathStringFromIDBKeyPath(/** @type {string}*/(this.keyPath)));
dgozman 2016/11/01 00:04:07 Remove second.
}
};
@@ -532,11 +532,11 @@ WebInspector.IndexedDBModel.Index = function(name, keyPath, unique, multiEntry)
WebInspector.IndexedDBModel.Index.prototype = {
/**
- * @type {string}
+ * @return {string}
*/
get keyPathString()
{
- return WebInspector.IndexedDBModel.keyPathStringFromIDBKeyPath(this.keyPath);
+ return /** @type {string}*/(WebInspector.IndexedDBModel.keyPathStringFromIDBKeyPath(/** @type {string}*/(this.keyPath)));
dgozman 2016/11/01 00:04:07 ditto
}
};

Powered by Google App Engine
This is Rietveld 408576698