| Index: chrome/browser/extensions/external_registry_extension_provider_win.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/external_registry_extension_provider_win.cc (revision 57574)
|
| +++ chrome/browser/extensions/external_registry_extension_provider_win.cc (working copy)
|
| @@ -37,7 +37,7 @@
|
| std::wstring key_path = ASCIIToWide(kRegistryExtensions);
|
| key_path.append(L"\\");
|
| key_path.append(iterator.Name());
|
| - if (key.Open(kRegRoot, key_path.c_str(), KEY_READ)) {
|
| + if (key.Open(kRegRoot, key_path.c_str())) {
|
| std::wstring extension_path;
|
| if (key.ReadValue(kRegistryExtensionPath, &extension_path)) {
|
| std::wstring extension_version;
|
| @@ -77,7 +77,7 @@
|
| key_path.append(L"\\");
|
| key_path.append(ASCIIToWide(id));
|
|
|
| - if (!key.Open(kRegRoot, key_path.c_str(), KEY_READ))
|
| + if (!key.Open(kRegRoot, key_path.c_str()))
|
| return NULL;
|
|
|
| std::wstring extension_version;
|
|
|