| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 639ba740a4df900b77b4bb00c012061833709b20..73ff3c5c75f42ee2c6fe775e45760b99b29e9fd9 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -25,6 +25,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| #include "chrome/browser/autofill/autofill_manager.h"
|
| +#include "chrome/browser/autofill/personal_data_manager_factory.h"
|
| #include "chrome/browser/background/background_contents_service.h"
|
| #include "chrome/browser/bookmarks/bookmark_model.h"
|
| #include "chrome/browser/bookmarks/bookmark_utils.h"
|
| @@ -523,7 +524,7 @@ void Browser::InitBrowserWindow() {
|
| local_state->GetBoolean(prefs::kAutofillPersonalDataManagerFirstRun)) {
|
| // Notify PDM that this is a first run.
|
| #if defined(OS_WIN)
|
| - ImportAutofillDataWin(profile_->GetPersonalDataManager());
|
| + ImportAutofillDataWin(PersonalDataManagerFactory::GetForProfile(profile_));
|
| #endif // defined(OS_WIN)
|
| // Reset the preference so we don't call it again for subsequent windows.
|
| local_state->ClearPref(prefs::kAutofillPersonalDataManagerFirstRun);
|
|
|