Index: sync/api/attachments/attachment_service_impl.cc |
diff --git a/sync/api/attachments/attachment_service_impl.cc b/sync/api/attachments/attachment_service_impl.cc |
index 2e3978043c34ba3ac54af8bcfcb4e073195114fa..07c2f756919e0cbcd8da45f70050f610019b3f87 100644 |
--- a/sync/api/attachments/attachment_service_impl.cc |
+++ b/sync/api/attachments/attachment_service_impl.cc |
@@ -6,6 +6,7 @@ |
#include "base/bind.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/thread_task_runner_handle.h" |
#include "sync/api/attachments/attachment.h" |
#include "sync/internal_api/public/attachments/fake_attachment_downloader.h" |
#include "sync/internal_api/public/attachments/fake_attachment_store.h" |
@@ -127,7 +128,7 @@ AttachmentServiceImpl::~AttachmentServiceImpl() { |
// Static. |
scoped_ptr<syncer::AttachmentService> AttachmentServiceImpl::CreateForTest() { |
scoped_ptr<syncer::AttachmentStore> attachment_store( |
- new syncer::FakeAttachmentStore(base::MessageLoopProxy::current())); |
+ new syncer::FakeAttachmentStore(base::ThreadTaskRunnerHandle::Get())); |
scoped_ptr<AttachmentUploader> attachment_uploader( |
new FakeAttachmentUploader); |
scoped_ptr<AttachmentDownloader> attachment_downloader( |