Index: Source/modules/indexeddb/IDBDatabase.cpp |
diff --git a/Source/modules/indexeddb/IDBDatabase.cpp b/Source/modules/indexeddb/IDBDatabase.cpp |
index 174ee37d23e3eb1768b5c7d7d7e03f61bbc38833..994f0752c66bfe9e6fe8825de444d37acfa29fb8 100644 |
--- a/Source/modules/indexeddb/IDBDatabase.cpp |
+++ b/Source/modules/indexeddb/IDBDatabase.cpp |
@@ -26,6 +26,7 @@ |
#include "config.h" |
#include "modules/indexeddb/IDBDatabase.h" |
+#include "bindings/core/v8/DictionaryHelper.h" |
#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/ExceptionStatePlaceholder.h" |
#include "bindings/core/v8/Nullable.h" |
@@ -203,12 +204,12 @@ IDBObjectStore* IDBDatabase::createObjectStore(const String& name, const Diction |
if (!options.isUndefinedOrNull()) { |
String keyPathString; |
Vector<String> keyPathArray; |
- if (options.get("keyPath", keyPathArray)) |
+ if (DictionaryHelper::get(options, "keyPath", keyPathArray)) |
keyPath = IDBKeyPath(keyPathArray); |
else if (options.getWithUndefinedOrNullCheck("keyPath", keyPathString)) |
keyPath = IDBKeyPath(keyPathString); |
- options.get("autoIncrement", autoIncrement); |
+ DictionaryHelper::get(options, "autoIncrement", autoIncrement); |
} |
return createObjectStore(name, keyPath, autoIncrement, exceptionState); |