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

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

Issue 1706413002: Indexed DB: Rename "int version" to "version" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 10 months 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 c739ab8ba415b47a9d9c1eb6ab98d180fad1078a..c3853060ce7d5302e2a8d621728ee147035da0ba 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBModel.js
@@ -330,7 +330,7 @@ WebInspector.IndexedDBModel.prototype = {
if (!this._databaseNamesBySecurityOrigin[databaseId.securityOrigin])
return;
- var databaseModel = new WebInspector.IndexedDBModel.Database(databaseId, databaseWithObjectStores.intVersion);
+ var databaseModel = new WebInspector.IndexedDBModel.Database(databaseId, databaseWithObjectStores.version);
this._databases.set(databaseId, databaseModel);
for (var i = 0; i < databaseWithObjectStores.objectStores.length; ++i) {
var objectStore = databaseWithObjectStores.objectStores[i];
@@ -459,12 +459,12 @@ WebInspector.IndexedDBModel.DatabaseId.prototype = {
/**
* @constructor
* @param {!WebInspector.IndexedDBModel.DatabaseId} databaseId
- * @param {number} intVersion
+ * @param {number} version
*/
-WebInspector.IndexedDBModel.Database = function(databaseId, intVersion)
+WebInspector.IndexedDBModel.Database = function(databaseId, version)
{
this.databaseId = databaseId;
- this.intVersion = intVersion;
+ this.version = version;
this.objectStores = {};
}

Powered by Google App Engine
This is Rietveld 408576698