Index: chrome/browser/sync/backend_migrator_unittest.cc |
diff --git a/chrome/browser/sync/backend_migrator_unittest.cc b/chrome/browser/sync/backend_migrator_unittest.cc |
index 205bf35a5929e44d5cb7347cfe94f48d819a977a..f261756a5b67c9d3cf8c18ad72925e6fae8ead29 100644 |
--- a/chrome/browser/sync/backend_migrator_unittest.cc |
+++ b/chrome/browser/sync/backend_migrator_unittest.cc |
@@ -29,7 +29,7 @@ using syncer::sessions::SyncSessionSnapshot; |
class SyncBackendMigratorTest : public testing::Test { |
public: |
- SyncBackendMigratorTest() { } |
+ SyncBackendMigratorTest() : service_(&profile_) { } |
virtual ~SyncBackendMigratorTest() { } |
virtual void SetUp() { |
@@ -104,6 +104,7 @@ class SyncBackendMigratorTest : public testing::Test { |
scoped_ptr<SyncSessionSnapshot> snap_; |
base::MessageLoop message_loop_; |
syncer::ModelTypeSet preferred_types_; |
+ TestingProfile profile_; |
NiceMock<ProfileSyncServiceMock> service_; |
NiceMock<DataTypeManagerMock> manager_; |
syncer::TestUserShare test_user_share_; |