summaryrefslogtreecommitdiffstats
path: root/base/registry.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 20:01:32 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 20:01:32 +0000
commit33caa325d159e5bb1f1fbcd731236e6c9f8eac12 (patch)
tree2c6216a7f31da9b8b810fdd6d87e6273549080fe /base/registry.h
parent051543b5c459c543657f3d6d6088eaf416bbb317 (diff)
downloadchromium_src-33caa325d159e5bb1f1fbcd731236e6c9f8eac12.zip
chromium_src-33caa325d159e5bb1f1fbcd731236e6c9f8eac12.tar.gz
chromium_src-33caa325d159e5bb1f1fbcd731236e6c9f8eac12.tar.bz2
Remove the default argument from RegKey::Open.
BUG=44644 TEST=base_unittests --gtest_filter=RegistryTest.* Review URL: http://codereview.chromium.org/3205007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57572 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);