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

Unified Diff: Source/modules/indexeddb/IDBDatabase.cpp

Issue 534133002: [WIP] bindings: Introduce PropertyBag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/geolocation/PositionOptions.cpp ('k') | Source/modules/indexeddb/IDBObjectStore.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBDatabase.cpp
diff --git a/Source/modules/indexeddb/IDBDatabase.cpp b/Source/modules/indexeddb/IDBDatabase.cpp
index 7dd759a6bf699a37ac27532c92dc275054e632e9..cf0722dcd84580fbb757543c7b96a00db5685f28 100644
--- a/Source/modules/indexeddb/IDBDatabase.cpp
+++ b/Source/modules/indexeddb/IDBDatabase.cpp
@@ -202,12 +202,12 @@ IDBObjectStore* IDBDatabase::createObjectStore(const String& name, const Diction
if (!options.isUndefinedOrNull()) {
String keyPathString;
Vector<String> keyPathArray;
- if (DictionaryHelper::get(options, "keyPath", keyPathArray))
+ if (options.get("keyPath", keyPathArray))
keyPath = IDBKeyPath(keyPathArray);
else if (options.getWithUndefinedOrNullCheck("keyPath", keyPathString))
keyPath = IDBKeyPath(keyPathString);
- DictionaryHelper::get(options, "autoIncrement", autoIncrement);
+ options.get("autoIncrement", autoIncrement);
}
return createObjectStore(name, keyPath, autoIncrement, exceptionState);
« no previous file with comments | « Source/modules/geolocation/PositionOptions.cpp ('k') | Source/modules/indexeddb/IDBObjectStore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698