Chromium Code Reviews| 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
|
| } |
| }; |