Index: chrome/browser/chromeos/accessibility_util.cc |
diff --git a/chrome/browser/chromeos/accessibility_util.cc b/chrome/browser/chromeos/accessibility_util.cc |
index a46327aee3db8ff1f753e7f110c63b2b03f3db60..90825e17000f4345b8da714c4b0e88155cddf047 100644 |
--- a/chrome/browser/chromeos/accessibility_util.cc |
+++ b/chrome/browser/chromeos/accessibility_util.cc |
@@ -93,11 +93,7 @@ void EnableAccessibility(bool enabled, WebUI* login_web_ui) { |
g_browser_process->local_state()->SetBoolean( |
prefs::kAccessibilityEnabled, enabled); |
- // Explicitly call SavePersistentPrefs instead of ScheduleSavePersistentPrefs |
- // so that this change gets written immediately, in case the user shuts |
- // down right now. TODO(dmazzoni) switch this back to |
- // ScheduleSavePersistentPrefs once http://crosbug.com/19491 is fixed. |
- g_browser_process->local_state()->SavePersistentPrefs(); |
+ g_browser_process->local_state()->ScheduleSavePersistentPrefs(); |
ExtensionAccessibilityEventRouter::GetInstance()-> |
SetAccessibilityEnabled(enabled); |