12010-07-13 Marcus Bulach <bulach@chromium.org>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Removes cycles caused by "m_this" members in a few IndexedDB classes.
6 https://bugs.webkit.org/show_bug.cgi?id=42161
7
8 Adds IDBAny::create for the various types.
9 No functionality change, just cleaning up.
10
11 * storage/IDBAny.cpp:
12 (WebCore::createIDBAny):
13 (WebCore::IDBAny::create):
14 * storage/IDBAny.h:
15 * storage/IDBDatabaseRequest.cpp:
16 (WebCore::IDBDatabaseRequest::IDBDatabaseRequest):
17 (WebCore::IDBDatabaseRequest::createObjectStore):
18 (WebCore::IDBDatabaseRequest::removeObjectStore):
19 * storage/IDBDatabaseRequest.h:
20 * storage/IDBKeyRange.cpp:
21 (WebCore::IDBKeyRange::IDBKeyRange):
22 * storage/IDBKeyRange.h:
23 (WebCore::IDBKeyRange::left):
24 (WebCore::IDBKeyRange::right):
25 * storage/IDBObjectStoreRequest.cpp:
26 (WebCore::IDBObjectStoreRequest::IDBObjectStoreRequest):
27 (WebCore::IDBObjectStoreRequest::get):
28 (WebCore::IDBObjectStoreRequest::add):
29 (WebCore::IDBObjectStoreRequest::put):
30 (WebCore::IDBObjectStoreRequest::remove):
31 (WebCore::IDBObjectStoreRequest::createIndex):
32 (WebCore::IDBObjectStoreRequest::removeIndex):
33 * storage/IDBObjectStoreRequest.h:
34 * storage/IndexedDatabaseRequest.cpp:
35 (WebCore::IndexedDatabaseRequest::IndexedDatabaseRequest):
36 (WebCore::IndexedDatabaseRequest::open):
37 * storage/IndexedDatabaseRequest.h:
38