Index: Source/modules/indexeddb/IDBObjectStore.cpp |
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp |
index c7b46bab9b8d392fea5e37dae140ff933afb0480..ed8ec9ae2ff2f7504449ac09c3908d8e77228bff 100644 |
--- a/Source/modules/indexeddb/IDBObjectStore.cpp |
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp |
@@ -26,6 +26,8 @@ |
#include "config.h" |
#include "modules/indexeddb/IDBObjectStore.h" |
+#include "bindings/core/v8/Dictionary.h" |
+#include "bindings/core/v8/DictionaryHelper.h" |
#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/ExceptionStatePlaceholder.h" |
#include "bindings/core/v8/ScriptState.h" |
@@ -386,10 +388,10 @@ private: |
IDBIndex* IDBObjectStore::createIndex(ScriptState* scriptState, const String& name, const IDBKeyPath& keyPath, const Dictionary& options, ExceptionState& exceptionState) |
{ |
bool unique = false; |
- options.get("unique", unique); |
+ DictionaryHelper::get(options, "unique", unique); |
bool multiEntry = false; |
- options.get("multiEntry", multiEntry); |
+ DictionaryHelper::get(options, "multiEntry", multiEntry); |
return createIndex(scriptState, name, keyPath, unique, multiEntry, exceptionState); |
} |