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

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

Issue 966843002: Mark DOMStringList.contains() as deprecated, add console warning. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add more detailed use counters Created 5 years, 6 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: Source/modules/indexeddb/IDBTransaction.cpp
diff --git a/Source/modules/indexeddb/IDBTransaction.cpp b/Source/modules/indexeddb/IDBTransaction.cpp
index 305cf03bb2a421849c026fb616293406d9616221..2ead4fab0dea9202a24af8a2344a36346a2a8c5a 100644
--- a/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/Source/modules/indexeddb/IDBTransaction.cpp
@@ -333,7 +333,7 @@ PassRefPtrWillBeRawPtr<DOMStringList> IDBTransaction::objectStoreNames() const
if (m_mode == WebIDBTransactionModeVersionChange)
return m_database->objectStoreNames();
- RefPtrWillBeRawPtr<DOMStringList> objectStoreNames = DOMStringList::create();
+ RefPtrWillBeRawPtr<DOMStringList> objectStoreNames = DOMStringList::create(DOMStringList::IndexedDB);
for (const String& name : m_objectStoreNames)
objectStoreNames->append(name);
objectStoreNames->sort();

Powered by Google App Engine
This is Rietveld 408576698