| Index: chrome_elf/blacklist/blacklist.cc
|
| diff --git a/chrome_elf/blacklist/blacklist.cc b/chrome_elf/blacklist/blacklist.cc
|
| index 8107ffcab39abeaebde41f90c73a90beefc36ac4..fced32dcd0034ecf976c9946c154d053ebfd9e8d 100644
|
| --- a/chrome_elf/blacklist/blacklist.cc
|
| +++ b/chrome_elf/blacklist/blacklist.cc
|
| @@ -371,7 +371,7 @@ bool AddDllsFromRegistryToBlacklist() {
|
| if (result != ERROR_SUCCESS)
|
| return false;
|
|
|
| - // We add dlls from the registry to the blacklist, and then clear registry.
|
| + // We add dlls from the registry to the blacklist.
|
| DWORD value_len;
|
| DWORD name_len = MAX_PATH;
|
| std::vector<wchar_t> name_buffer(name_len);
|
| @@ -393,10 +393,7 @@ bool AddDllsFromRegistryToBlacklist() {
|
| }
|
| }
|
|
|
| - // Delete the finch registry key to clear the values.
|
| - result = ::RegDeleteKey(key, L"");
|
| -
|
| - ::RegCloseKey(key);
|
| + result = ::RegCloseKey(key);
|
| return result == ERROR_SUCCESS;
|
| }
|
|
|
|
|