| Index: chrome/browser/platform_util_win.cc
|
| diff --git a/chrome/browser/platform_util_win.cc b/chrome/browser/platform_util_win.cc
|
| index 5157cb489d09f376c32700c1f1c6a6a6960bfc6c..d928a2de9b4b51bdfe6df13516fd017053e8f5c8 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);
|
|
|