diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-28 00:31:53 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-28 00:31:53 +0000 |
commit | 8c0a4284d50894ecc26f996f816c1f32cabbabb3 (patch) | |
tree | 1d7b791d1855547d6ab752f0af0e82b0ea54e3c5 /chrome/browser/platform_util_win.cc | |
parent | 357f1705d94ad22ef188f381e9b5277a41e3e96c (diff) | |
download | chromium_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 'chrome/browser/platform_util_win.cc')
-rw-r--r-- | chrome/browser/platform_util_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/platform_util_win.cc b/chrome/browser/platform_util_win.cc index 1c69075..d932b74 100644 --- a/chrome/browser/platform_util_win.cc +++ b/chrome/browser/platform_util_win.cc @@ -113,7 +113,7 @@ void OpenExternal(const GURL& url) { RegKey key; std::wstring registry_path = ASCIIToWide(url.scheme()) + L"\\shell\\open\\command"; - key.Open(HKEY_CLASSES_ROOT, registry_path.c_str()); + key.Open(HKEY_CLASSES_ROOT, registry_path.c_str(), KEY_READ); if (key.Valid()) { DWORD size = 0; key.ReadValue(NULL, NULL, &size); |