| Index: third_party/WebKit/Source/modules/indexeddb/IndexedDBClient.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IndexedDBClient.cpp b/third_party/WebKit/Source/modules/indexeddb/IndexedDBClient.cpp
|
| index 37f8ec0de9c3f971eee0ac06d4504d82b87e0ab2..d5d17f7df2f4656336b16c6109d2ab7c8a25160a 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IndexedDBClient.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IndexedDBClient.cpp
|
| @@ -12,7 +12,11 @@
|
|
|
| namespace blink {
|
|
|
| -IndexedDBClient::IndexedDBClient() {}
|
| +IndexedDBClient::IndexedDBClient(LocalFrame& frame)
|
| + : Supplement<LocalFrame>(frame) {}
|
| +
|
| +IndexedDBClient::IndexedDBClient(WorkerClients& clients)
|
| + : Supplement<WorkerClients>(clients) {}
|
|
|
| IndexedDBClient* IndexedDBClient::from(ExecutionContext* context) {
|
| if (context->isDocument())
|
| @@ -35,7 +39,8 @@ DEFINE_TRACE(IndexedDBClient) {
|
| }
|
|
|
| void provideIndexedDBClientTo(LocalFrame& frame, IndexedDBClient* client) {
|
| - frame.provideSupplement(IndexedDBClient::supplementName(), client);
|
| + Supplement<LocalFrame>::provideTo(frame, IndexedDBClient::supplementName(),
|
| + client);
|
| }
|
|
|
| void provideIndexedDBClientToWorker(WorkerClients* clients,
|
|
|