| Index: content/child/indexed_db/indexed_db_dispatcher.h
|
| diff --git a/content/child/indexed_db/indexed_db_dispatcher.h b/content/child/indexed_db/indexed_db_dispatcher.h
|
| index 3d75d37bc6dc1ba54beb815020c0774b9306c01e..c5ae7d0c925629cd0ac28e6ecf2612e54781fb24 100644
|
| --- a/content/child/indexed_db/indexed_db_dispatcher.h
|
| +++ b/content/child/indexed_db/indexed_db_dispatcher.h
|
| @@ -131,9 +131,9 @@ class CONTENT_EXPORT IndexedDBDispatcher : public WorkerThread::Observer {
|
|
|
| template <typename T>
|
| void init_params(T* params, blink::WebIDBCallbacks* callbacks_ptr) {
|
| - std::unique_ptr<blink::WebIDBCallbacks> callbacks(callbacks_ptr);
|
| params->ipc_thread_id = CurrentWorkerId();
|
| - params->ipc_callbacks_id = pending_callbacks_.Add(callbacks.release());
|
| + params->ipc_callbacks_id = pending_callbacks_.Add(
|
| + std::unique_ptr<blink::WebIDBCallbacks>(callbacks_ptr));
|
| }
|
|
|
| // IDBCallback message handlers.
|
|
|