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

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

Issue 2840893002: IndexedDB: Remove DOMStringList special case for transaction() (Closed)
Patch Set: Remove generated files for union type from gni Created 3 years, 8 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/IDBDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
index 092bc162e2406e6532e540773205832c19fa6fb5..90620e1eff281ac4e4cf5de55cdb1056446df452 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
@@ -350,7 +350,7 @@ void IDBDatabase::deleteObjectStore(const String& name,
IDBTransaction* IDBDatabase::transaction(
ScriptState* script_state,
- const StringOrStringSequenceOrDOMStringList& store_names,
+ const StringOrStringSequence& store_names,
const String& mode_string,
ExceptionState& exception_state) {
IDB_TRACE("IDBDatabase::transaction");
@@ -362,10 +362,6 @@ IDBTransaction* IDBDatabase::transaction(
} else if (store_names.isStringSequence()) {
for (const String& name : store_names.getAsStringSequence())
scope.insert(name);
- } else if (store_names.isDOMStringList()) {
- const Vector<String>& list = *store_names.getAsDOMStringList();
- for (const String& name : list)
- scope.insert(name);
} else {
NOTREACHED();
}
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h ('k') | third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698