diff options
author | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 20:27:16 +0000 |
---|---|---|
committer | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 20:27:16 +0000 |
commit | fb56c27c85e46336d505cf51047345c5389cedba (patch) | |
tree | a278db90496c09bd01476cc3b43d662bb7e57400 /base | |
parent | d7a49c7c5c445c4f911c65e834305c03604a9ede (diff) | |
download | chromium_src-fb56c27c85e46336d505cf51047345c5389cedba.zip chromium_src-fb56c27c85e46336d505cf51047345c5389cedba.tar.gz chromium_src-fb56c27c85e46336d505cf51047345c5389cedba.tar.bz2 |
Revert 57572 - Remove the default argument from RegKey::Open.
Caused a failure on Windows Chromium Builder (dbg):
...\configuration_policy_provider_win.cc(71) :
error C2660: 'RegKey::Open' : function does not take
2 arguments
BUG=44644
TEST=base_unittests --gtest_filter=RegistryTest.*
Review URL: http://codereview.chromium.org/3205007
TBR=tfarina@chromium.org
Review URL: http://codereview.chromium.org/3211004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/registry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/registry.h b/base/registry.h index 0b6c00c..6199362 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); + bool Open(HKEY rootkey, const wchar_t* subkey, REGSAM access = KEY_READ); // Creates a subkey or open it if it already exists. bool CreateKey(const wchar_t* name, REGSAM access); |