Index: content/child/indexed_db/webidbcursor_impl_unittest.cc |
diff --git a/content/child/indexed_db/webidbcursor_impl_unittest.cc b/content/child/indexed_db/webidbcursor_impl_unittest.cc |
index a21babd8b8c20e063eaa3819dfd319bf0bff25d8..29c1f47567c92f5c5712c5b8fd26506d9369b676 100644 |
--- a/content/child/indexed_db/webidbcursor_impl_unittest.cc |
+++ b/content/child/indexed_db/webidbcursor_impl_unittest.cc |
@@ -10,7 +10,7 @@ |
#include "content/child/indexed_db/webidbcursor_impl.h" |
#include "content/child/thread_safe_sender.h" |
#include "content/common/indexed_db/indexed_db_key.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/WebData.h" |
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCallbacks.h" |
@@ -121,9 +121,8 @@ class WebIDBCursorImplTest : public testing::Test { |
public: |
WebIDBCursorImplTest() { |
null_key_.assignNull(); |
- sync_message_filter_ = new IPC::SyncMessageFilter(NULL); |
- thread_safe_sender_ = new ThreadSafeSender( |
- base::ThreadTaskRunnerHandle::Get(), sync_message_filter_.get()); |
+ thread_safe_sender_ = |
+ TestThreadSafeSender::Create(base::ThreadTaskRunnerHandle::Get()); |
dispatcher_ = |
make_scoped_ptr(new MockDispatcher(thread_safe_sender_.get())); |
} |
@@ -135,8 +134,6 @@ class WebIDBCursorImplTest : public testing::Test { |
scoped_ptr<MockDispatcher> dispatcher_; |
private: |
- scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
- |
DISALLOW_COPY_AND_ASSIGN(WebIDBCursorImplTest); |
}; |