Index: chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc |
diff --git a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc |
index 70d09fee2eb4861b39d01e61d6f8cb766507756a..0145a7dd1170478824ba439dcad078f5d5adbe51 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc |
+++ b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc |
@@ -183,7 +183,7 @@ TEST(SafeBrowsingEnvironmentDataCollectionWinTest, CollectRegistryData) { |
// Ensure that all values and subkeys from the specified registry keys are |
// correctly stored in the report. |
registry_util::RegistryOverrideManager override_manager; |
- override_manager.OverrideRegistry(HKEY_CURRENT_USER); |
+ ASSERT_NO_FATAL_FAILURE(override_manager.OverrideRegistry(HKEY_CURRENT_USER)); |
const wchar_t kRootKey[] = L"Software\\TestKey"; |
const RegistryKeyInfo kRegKeysToCollect[] = { |