Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: chrome/browser/browser_theme_provider.cc

Issue 200080: Force preferences to save immediately when a theme is set, so that a browser ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_theme_provider.cc
===================================================================
--- chrome/browser/browser_theme_provider.cc (revision 25861)
+++ chrome/browser/browser_theme_provider.cc (working copy)
@@ -1091,6 +1091,7 @@
pref_images->SetString(UTF8ToWide(pref_name),
WideToUTF8(disk_path));
}
+ profile_->GetPrefs()->SavePersistentPrefs();
}
void BrowserThemeProvider::SaveImageData(DictionaryValue* images_value) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698