| Index: chrome/browser/chrome_elf_init_win.cc
|
| diff --git a/chrome/browser/chrome_elf_init_win.cc b/chrome/browser/chrome_elf_init_win.cc
|
| index 424f533c34090c07e8e58d6aeaa504a016c7a57b..aa74c46f911fd31a60520ed56cba096748d9c0c9 100644
|
| --- a/chrome/browser/chrome_elf_init_win.cc
|
| +++ b/chrome/browser/chrome_elf_init_win.cc
|
| @@ -7,7 +7,7 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/win/registry.h"
|
| #include "chrome/browser/chrome_elf_init_win.h"
|
| -#include "chrome_elf/blacklist/blacklist.h"
|
| +#include "chrome_elf/chrome_elf_constants.h"
|
| #include "version.h" // NOLINT
|
|
|
| namespace {
|
| @@ -64,6 +64,10 @@ void BrowserBlacklistBeaconSetup() {
|
| blacklist::kRegistryBeaconPath,
|
| KEY_QUERY_VALUE | KEY_SET_VALUE);
|
|
|
| + // No point in trying to continue if the registry key isn't valid.
|
| + if (!blacklist_registry_key.Valid())
|
| + return;
|
| +
|
| // Find the last recorded blacklist version.
|
| base::string16 blacklist_version;
|
| blacklist_registry_key.ReadValue(blacklist::kBeaconVersion,
|
|
|