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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h

Issue 2349413002: Minor IndexedDB refactorings. (Closed)
Patch Set: Rebased Created 4 years, 3 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/modules/indexeddb/IDBMetadata.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h b/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
index e293d3ac55b2edd84e169144f52439e1c1b129aa..74f1bd80d1bc4b136e5344aa07771728eb826dd0 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
@@ -53,7 +53,7 @@ struct IDBIndexMetadata {
bool unique;
bool multiEntry;
- static const int64_t InvalidId = -1;
+ static constexpr int64_t InvalidId = -1;
};
struct IDBObjectStoreMetadata {
@@ -73,7 +73,7 @@ struct IDBObjectStoreMetadata {
bool autoIncrement;
int64_t maxIndexId;
- static const int64_t InvalidId = -1;
+ static constexpr int64_t InvalidId = -1;
typedef HashMap<int64_t, IDBIndexMetadata> IndexMap;
IndexMap indexes;
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBMetadata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698