| Index: sync/api/attachments/attachment_service_proxy_unittest.cc
|
| diff --git a/sync/api/attachments/attachment_service_proxy_unittest.cc b/sync/api/attachments/attachment_service_proxy_unittest.cc
|
| index eed5e6b872928b03d64af27331e0b9bcde6e6503..d5fa30e97f0cc7e4d20e8a5c7123381de51ec1b6 100644
|
| --- a/sync/api/attachments/attachment_service_proxy_unittest.cc
|
| +++ b/sync/api/attachments/attachment_service_proxy_unittest.cc
|
| @@ -104,8 +104,8 @@ class AttachmentServiceProxyTest : public testing::Test,
|
| stub_thread.reset(new base::Thread("attachment service stub thread"));
|
| stub_thread->Start();
|
| stub.reset(new StubAttachmentService);
|
| - proxy.reset(new AttachmentServiceProxy(stub_thread->message_loop_proxy(),
|
| - stub->AsWeakPtr()));
|
| + proxy = new AttachmentServiceProxy(stub_thread->message_loop_proxy(),
|
| + stub->AsWeakPtr());
|
|
|
| sync_data =
|
| SyncData::CreateLocalData("tag", "title", sync_pb::EntitySpecifics());
|
| @@ -156,7 +156,7 @@ class AttachmentServiceProxyTest : public testing::Test,
|
| base::MessageLoop loop;
|
| scoped_ptr<base::Thread> stub_thread;
|
| scoped_ptr<StubAttachmentService> stub;
|
| - scoped_ptr<AttachmentServiceProxy> proxy;
|
| + scoped_refptr<AttachmentServiceProxy> proxy;
|
|
|
| SyncData sync_data;
|
| SyncData sync_data_delete;
|
|
|