| Index: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
| index 9d4cbe7a498bd1d71af336778d12c0c753774ccf..05028cbdfd251c2a2f91098b5eec149081991200 100644
|
| --- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
| @@ -184,8 +184,7 @@ class ProfileSyncServiceTypedUrlTest : public AbstractProfileSyncServiceTest {
|
|
|
| virtual void SetUp() {
|
| AbstractProfileSyncServiceTest::SetUp();
|
| - profile_.reset(new ProfileMock);
|
| - profile_->CreateRequestContext();
|
| + profile_.reset(new ProfileMock());
|
| invalidation::InvalidationServiceFactory::GetInstance()->
|
| SetBuildOnlyFakeInvalidatorsForTest(true);
|
| history_backend_ = new HistoryBackendMock();
|
| @@ -202,7 +201,6 @@ class ProfileSyncServiceTypedUrlTest : public AbstractProfileSyncServiceTest {
|
| EXPECT_CALL((*history_service_), Shutdown())
|
| .WillOnce(ShutdownHistoryService(history_thread_.release(),
|
| history_service_));
|
| - profile_->ResetRequestContext();
|
| profile_.reset();
|
| AbstractProfileSyncServiceTest::TearDown();
|
| }
|
|
|