| Index: content/child/indexed_db/indexed_db_dispatcher_unittest.cc
|
| diff --git a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
|
| index 7e146e7b00b46bf37464f241f493bd99346f3510..b3690a402f92b91d3ce8408092506ee4ccbd9964 100644
|
| --- a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
|
| +++ b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
|
| @@ -12,7 +12,7 @@
|
| #include "content/common/indexed_db/indexed_db_key.h"
|
| #include "content/common/indexed_db/indexed_db_key_range.h"
|
| #include "content/common/indexed_db/indexed_db_messages.h"
|
| -#include "ipc/ipc_sync_message_filter.h"
|
| +#include "content/test/test_thread_safe_sender.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "third_party/WebKit/public/platform/WebBlobInfo.h"
|
| #include "third_party/WebKit/public/platform/WebData.h"
|
| @@ -65,17 +65,13 @@ class MockDispatcher : public IndexedDBDispatcher {
|
| class IndexedDBDispatcherTest : public testing::Test {
|
| public:
|
| IndexedDBDispatcherTest()
|
| - : task_runner_(base::ThreadTaskRunnerHandle::Get()),
|
| - sync_message_filter_(new IPC::SyncMessageFilter(NULL)),
|
| - thread_safe_sender_(new ThreadSafeSender(task_runner_.get(),
|
| - sync_message_filter_.get())) {}
|
| + : thread_safe_sender_(TestThreadSafeSender::Create(
|
| + base::ThreadTaskRunnerHandle::Get())) {}
|
|
|
| void TearDown() override { blink::WebHeap::collectAllGarbageForTesting(); }
|
|
|
| protected:
|
| base::MessageLoop message_loop_;
|
| - scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
|
| - scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
|
| scoped_refptr<ThreadSafeSender> thread_safe_sender_;
|
|
|
| private:
|
|
|