Index: chrome/installer/util/installer_state.cc |
=================================================================== |
--- chrome/installer/util/installer_state.cc (revision 273136) |
+++ chrome/installer/util/installer_state.cc (working copy) |
@@ -742,10 +742,8 @@ |
// Create the app's ClientState key if it doesn't exist. |
ChannelInfo channel_info; |
base::win::RegKey state_key; |
- LONG result = |
- state_key.Create(root_key_, |
- state_key_.c_str(), |
- KEY_QUERY_VALUE | KEY_SET_VALUE | KEY_WOW64_32KEY); |
+ LONG result = state_key.Create(root_key_, state_key_.c_str(), |
+ KEY_QUERY_VALUE | KEY_SET_VALUE); |
if (result == ERROR_SUCCESS) { |
channel_info.Initialize(state_key); |
@@ -784,10 +782,8 @@ |
continue; |
dist = product->distribution(); |
} |
- result = |
- state_key.Create(root_key_, |
- dist->GetStateKey().c_str(), |
- KEY_QUERY_VALUE | KEY_SET_VALUE | KEY_WOW64_32KEY); |
+ result = state_key.Create(root_key_, dist->GetStateKey().c_str(), |
+ KEY_QUERY_VALUE | KEY_SET_VALUE); |
if (result == ERROR_SUCCESS) { |
other_info.Initialize(state_key); |
if (!other_info.Equals(channel_info)) |