summaryrefslogtreecommitdiffstats
path: root/base/registry.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-28 00:31:53 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-28 00:31:53 +0000
commit8c0a4284d50894ecc26f996f816c1f32cabbabb3 (patch)
tree1d7b791d1855547d6ab752f0af0e82b0ea54e3c5 /base/registry.h
parent357f1705d94ad22ef188f381e9b5277a41e3e96c (diff)
downloadchromium_src-8c0a4284d50894ecc26f996f816c1f32cabbabb3.zip
chromium_src-8c0a4284d50894ecc26f996f816c1f32cabbabb3.tar.gz
chromium_src-8c0a4284d50894ecc26f996f816c1f32cabbabb3.tar.bz2
Reland r57575 - Remove the default argument from RegKey::Open.
This fix the bad rebase conflict. BUG=44644 TEST=base_unittests --gtest_filter=RegistryTest.* Review URL: http://codereview.chromium.org/3185032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/registry.h')
-rw-r--r--base/registry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/registry.h b/base/registry.h
index 6199362..0b6c00c 100644
--- a/base/registry.h
+++ b/base/registry.h
@@ -29,7 +29,7 @@ class RegKey {
bool CreateWithDisposition(HKEY rootkey, const wchar_t* subkey,
DWORD* disposition, REGSAM access);
- bool Open(HKEY rootkey, const wchar_t* subkey, REGSAM access = KEY_READ);
+ bool Open(HKEY rootkey, const wchar_t* subkey, REGSAM access);
// Creates a subkey or open it if it already exists.
bool CreateKey(const wchar_t* name, REGSAM access);