| Index: chrome/installer/util/create_reg_key_work_item.cc
|
| diff --git a/chrome/installer/util/create_reg_key_work_item.cc b/chrome/installer/util/create_reg_key_work_item.cc
|
| index 03f3367f5ec61d4a87f60869cc66e0802728b73d..c77092f466937b720916fbad2a44efd015ef6518 100644
|
| --- a/chrome/installer/util/create_reg_key_work_item.cc
|
| +++ b/chrome/installer/util/create_reg_key_work_item.cc
|
| @@ -52,7 +52,7 @@ bool CreateRegKeyWorkItem::Do() {
|
| key_path.assign(key_list_[i - 1]);
|
|
|
| if (key.CreateWithDisposition(predefined_root_, key_path.c_str(),
|
| - &disposition)) {
|
| + &disposition, KEY_READ)) {
|
| if (disposition == REG_OPENED_EXISTING_KEY) {
|
| if (key_created_) {
|
| // This should not happen. Someone created a subkey under the key
|
|
|