Index: chrome/installer/util/google_update_settings.cc |
=================================================================== |
--- chrome/installer/util/google_update_settings.cc (revision 134564) |
+++ chrome/installer/util/google_update_settings.cc (working copy) |
@@ -129,6 +129,10 @@ |
return true; |
} |
+ // The registry functions below will end up going to disk. Do this on another |
+ // thread to avoid slowing the IO thread. http://crbug.com/62121 |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
+ |
HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; |
string16 reg_path = dist->GetStateKey(); |
RegKey key(root_key, reg_path.c_str(), KEY_READ); |