| Index: sync/internal_api/sync_manager_impl_unittest.cc
|
| diff --git a/sync/internal_api/sync_manager_impl_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc
|
| index c8d5817620eb50ea921511c5e66d2c3065e4b9e5..57e2a5bdbe496f627ae78b894ae1c6333ecd936a 100644
|
| --- a/sync/internal_api/sync_manager_impl_unittest.cc
|
| +++ b/sync/internal_api/sync_manager_impl_unittest.cc
|
| @@ -813,7 +813,7 @@ class SyncManagerTest : public testing::Test,
|
|
|
| EXPECT_FALSE(js_backend_.IsInitialized());
|
|
|
| - std::vector<ModelSafeWorker*> workers;
|
| + std::vector<scoped_refptr<ModelSafeWorker> > workers;
|
| ModelSafeRoutingInfo routing_info;
|
| GetModelSafeRoutingInfo(&routing_info);
|
|
|
| @@ -821,7 +821,7 @@ class SyncManagerTest : public testing::Test,
|
| // If we had types in other groups, we would need additional workers
|
| // to support them.
|
| scoped_refptr<ModelSafeWorker> worker = new FakeModelWorker(GROUP_PASSIVE);
|
| - workers.push_back(worker.get());
|
| + workers.push_back(worker);
|
|
|
| // Takes ownership of |fake_invalidator_|.
|
| sync_manager_.Init(
|
|
|