diff options
Diffstat (limited to 'chrome/browser/importer/profile_writer.cc')
-rw-r--r-- | chrome/browser/importer/profile_writer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer/profile_writer.cc index d7f6280..e7a6d20 100644 --- a/chrome/browser/importer/profile_writer.cc +++ b/chrome/browser/importer/profile_writer.cc @@ -14,6 +14,7 @@ #include "base/utf_string_conversions.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/bookmarks/bookmark_model_factory.h" +#include "chrome/browser/favicon/favicon_service_factory.h" #include "chrome/browser/history/history_service_factory.h" #include "chrome/browser/password_manager/password_store.h" #include "chrome/browser/password_manager/password_store_factory.h" @@ -232,7 +233,7 @@ void ProfileWriter::AddBookmarks(const std::vector<BookmarkEntry>& bookmarks, void ProfileWriter::AddFavicons( const std::vector<history::ImportedFaviconUsage>& favicons) { - profile_->GetFaviconService(Profile::EXPLICIT_ACCESS)-> + FaviconServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS)-> SetImportedFavicons(favicons); } |