summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-12 00:36:02 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-12 00:36:02 +0000
commite2e94f957a14b62c2e2d618bf976d101c38d2dce (patch)
treed5940d517bbdf60dc4c780407e64ab19074fb5dd /chrome/installer
parent15fec826367f134670bf4b4134ae88055b71c84e (diff)
downloadchromium_src-e2e94f957a14b62c2e2d618bf976d101c38d2dce.zip
chromium_src-e2e94f957a14b62c2e2d618bf976d101c38d2dce.tar.gz
chromium_src-e2e94f957a14b62c2e2d618bf976d101c38d2dce.tar.bz2
Cleanup Registry API part 2:
- Move destructor implementation to source file. - Remove the default argument used in CreateWithDisposition function. BUG=44644 TEST=trybots Review URL: http://codereview.chromium.org/3100001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/create_reg_key_work_item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/create_reg_key_work_item.cc b/chrome/installer/util/create_reg_key_work_item.cc
index 03f3367..c77092f 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