Index: chrome/browser/ui/browser_init.cc |
diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc |
index e379855542d85f59401a433df0f95bd3f600d522..ca0b49ece1c85e4d0a55c91d66f53cc42b114117 100644 |
--- a/chrome/browser/ui/browser_init.cc |
+++ b/chrome/browser/ui/browser_init.cc |
@@ -502,6 +502,13 @@ bool BrowserInit::LaunchBrowser(const CommandLine& command_line, |
} |
#if defined(OS_CHROMEOS) |
+ // Initialize Chrome OS preferences like touch pad sensitivity. For the |
+ // preferences to work in the guest mode, the initialization has to be |
+ // done after |profile| is switched to the off-the-record profile (which |
+ // is actually GuestSessionProfile in the guest mode). See the |
+ // GetOffTheRecordProfile() call above. |
+ profile->InitChromeOSPreferences(); |
+ |
// Create the WmMessageListener so that it can listen for messages regardless |
// of what window has focus. |
chromeos::WmMessageListener::GetInstance(); |