Index: chrome/browser/importer/importer.cc |
diff --git a/chrome/browser/importer/importer.cc b/chrome/browser/importer/importer.cc |
index 370ec9ed450e17ddca990df3a00fb5cd5466de34..70e98a8111515fb2c5643894e5a860e09a92587c 100644 |
--- a/chrome/browser/importer/importer.cc |
+++ b/chrome/browser/importer/importer.cc |
@@ -87,7 +87,7 @@ void ProfileWriter::AddHomepage(const GURL& home_page) { |
PrefService* prefs = profile_->GetPrefs(); |
// NOTE: We set the kHomePage value, but keep the NewTab page as the homepage. |
prefs->SetString(prefs::kHomePage, ASCIIToWide(home_page.spec())); |
- prefs->ScheduleSavePersistentPrefs(g_browser_process->file_thread()); |
+ prefs->ScheduleSavePersistentPrefs(); |
} |
void ProfileWriter::AddBookmarkEntry( |
@@ -295,7 +295,7 @@ void ProfileWriter::ShowBookmarkBar() { |
if (!prefs->GetBoolean(prefs::kShowBookmarkBar)) { |
// Set the pref and notify the notification service. |
prefs->SetBoolean(prefs::kShowBookmarkBar, true); |
- prefs->ScheduleSavePersistentPrefs(g_browser_process->file_thread()); |
+ prefs->ScheduleSavePersistentPrefs(); |
Source<Profile> source(profile_); |
NotificationService::current()->Notify( |
NotificationType::BOOKMARK_BAR_VISIBILITY_PREF_CHANGED, source, |