Index: Source/modules/indexeddb/IDBDatabase.cpp |
diff --git a/Source/modules/indexeddb/IDBDatabase.cpp b/Source/modules/indexeddb/IDBDatabase.cpp |
index d365d959afae1069d25fc9ad5a2c98841e6b0420..a5bec351800c1de5e58681149b2d6e4c33bbc0ab 100644 |
--- a/Source/modules/indexeddb/IDBDatabase.cpp |
+++ b/Source/modules/indexeddb/IDBDatabase.cpp |
@@ -33,6 +33,7 @@ |
#include "bindings/modules/v8/V8BindingForModules.h" |
#include "core/dom/ExecutionContext.h" |
#include "core/events/EventQueue.h" |
+#include "core/frame/UseCounter.h" |
#include "core/inspector/ScriptCallStack.h" |
#include "modules/indexeddb/IDBAny.h" |
#include "modules/indexeddb/IDBEventDispatcher.h" |
@@ -277,6 +278,7 @@ IDBTransaction* IDBDatabase::transaction(ScriptState* scriptState, const StringO |
for (const String& name : storeNames.getAsStringSequence()) |
scope.add(name); |
} else if (storeNames.isDOMStringList()) { |
+ UseCounter::count(executionContext(), UseCounter::IDBDatabaseTransactionStoreNamesIsDOMStringList); |
jsbell
2015/06/05 18:12:17
This won't tell us anything useful. Given that use
philipj_slow
2015/06/05 18:19:22
You're right, that sounds pretty useless, so I'll
|
const Vector<String>& list = *storeNames.getAsDOMStringList(); |
for (const String& name : list) |
scope.add(name); |