Index: chrome/browser/importer/profile_writer.cc |
diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer/profile_writer.cc |
index da4da0c680ac495a406f2a17b2f843193296a5e7..9afeba7facca6b55f4c2e0bc85f03c2e7cedd560 100644 |
--- a/chrome/browser/importer/profile_writer.cc |
+++ b/chrome/browser/importer/profile_writer.cc |
@@ -20,6 +20,7 @@ |
#include "chrome/browser/search_engines/template_url.h" |
#include "chrome/browser/search_engines/template_url_service.h" |
#include "chrome/browser/search_engines/template_url_service_factory.h" |
+#include "chrome/browser/webdata/web_data_service_factory.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/pref_names.h" |
@@ -94,7 +95,8 @@ void ProfileWriter::AddPasswordForm(const webkit::forms::PasswordForm& form) { |
#if defined(OS_WIN) |
void ProfileWriter::AddIE7PasswordInfo(const IE7PasswordInfo& info) { |
- profile_->GetWebDataService(Profile::EXPLICIT_ACCESS)->AddIE7Login(info); |
+ WebDataServiceFactory::GetForProfile( |
+ profile_, Profile::EXPLICIT_ACCESS)->AddIE7Login(info); |
} |
#endif |