Chromium Code Reviews| Index: chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc |
| diff --git a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc |
| index 9d8a12c3033ebaa66869d4bd95107c72c11d7036..d43df9780f45a628d45bcfdce0e95447bee3ac35 100644 |
| --- a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc |
| +++ b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc |
| @@ -222,7 +222,7 @@ class SyncAutofillDataTypeControllerTest : public testing::Test { |
| TEST_F(SyncAutofillDataTypeControllerTest, StartWDSReady) { |
| FakeWebDataService* web_db = |
| static_cast<FakeWebDataService*>( |
| - AutofillWebDataService::FromBrowserContext(&profile_).get()); |
| + WebDataServiceFactory::GetAutofillWebDataForProfile(&profile_).get()); |
| web_db->LoadDatabase(); |
| autofill_dtc_->LoadModels( |
| base::Bind(&SyncAutofillDataTypeControllerTest::OnLoadFinished, |
| @@ -255,7 +255,7 @@ TEST_F(SyncAutofillDataTypeControllerTest, StartWDSNotReady) { |
| FakeWebDataService* web_db = |
| static_cast<FakeWebDataService*>( |
| - AutofillWebDataService::FromBrowserContext(&profile_).get()); |
| + WebDataServiceFactory::GetAutofillWebDataForProfile(&profile_).get()); |
|
Ilya Sherman
2013/11/14 23:54:33
nit: This line should be indented two more spaces.
blundell
2013/11/19 14:05:37
Done.
|
| web_db->LoadDatabase(); |
| EXPECT_CALL(*change_processor_.get(), Connect(_, _, _, _, _)) |
| @@ -274,7 +274,7 @@ TEST_F(SyncAutofillDataTypeControllerTest, StartWDSNotReady) { |
| TEST_F(SyncAutofillDataTypeControllerTest, UpdateAutofillCullingSettings) { |
| FakeWebDataService* web_db = |
| static_cast<FakeWebDataService*>( |
| - AutofillWebDataService::FromBrowserContext(&profile_).get()); |
| + WebDataServiceFactory::GetAutofillWebDataForProfile(&profile_).get()); |
| // Set up the experiments state. |
| ProfileSyncService* sync = ProfileSyncServiceFactory::GetForProfile( |