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

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

Issue 725023002: Remove Dictionary::getWithUndefinedOrNullCheck() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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: Source/modules/indexeddb/IDBDatabase.cpp
diff --git a/Source/modules/indexeddb/IDBDatabase.cpp b/Source/modules/indexeddb/IDBDatabase.cpp
index a02f9c5e30906804a27e5be2a822e67cb98cce1a..3ed36949631ea01b42817526131c88f7fe7bfd29 100644
--- a/Source/modules/indexeddb/IDBDatabase.cpp
+++ b/Source/modules/indexeddb/IDBDatabase.cpp
@@ -204,7 +204,7 @@ IDBObjectStore* IDBDatabase::createObjectStore(const String& name, const Diction
Vector<String> keyPathArray;
if (DictionaryHelper::get(options, "keyPath", keyPathArray))
keyPath = IDBKeyPath(keyPathArray);
- else if (options.getWithUndefinedOrNullCheck("keyPath", keyPathString))
+ else if (DictionaryHelper::getWithUndefinedOrNullCheck(options, "keyPath", keyPathString))
keyPath = IDBKeyPath(keyPathString);
DictionaryHelper::get(options, "autoIncrement", autoIncrement);

Powered by Google App Engine
This is Rietveld 408576698