Index: sync/internal_api/syncapi_unittest.cc |
diff --git a/sync/internal_api/syncapi_unittest.cc b/sync/internal_api/syncapi_unittest.cc |
index 0ae11dc37b8a99cfc3a47e06794a2b09056b40f0..34acd8ef9d6e4903cb40769342788ed14ad49c4a 100644 |
--- a/sync/internal_api/syncapi_unittest.cc |
+++ b/sync/internal_api/syncapi_unittest.cc |
@@ -768,10 +768,13 @@ class SyncManagerTest : public testing::Test, |
WeakHandle<JsEventHandler>(), |
"bogus", 0, false, |
base::MessageLoopProxy::current(), |
- new TestHttpPostProviderFactory(), routing_info, workers, |
+ scoped_ptr<HttpPostProviderFactory>( |
+ new TestHttpPostProviderFactory()), |
+ routing_info, workers, |
&extensions_activity_monitor_, this, |
credentials, |
- sync_notifier_mock_, "", |
+ scoped_ptr<SyncNotifier>(sync_notifier_mock_), |
+ "", |
syncer::SyncManager::TEST_IN_MEMORY, |
&encryptor_, |
&handler_, |