Index: components/user_prefs/tracked/registry_hash_store_contents_win_unittest.cc |
diff --git a/components/user_prefs/tracked/registry_hash_store_contents_win_unittest.cc b/components/user_prefs/tracked/registry_hash_store_contents_win_unittest.cc |
index a34d7ade788d1b08f4d75ee7e03de0db79e4d6a5..8b53b920da32284e0e5583769987a592912ea72f 100644 |
--- a/components/user_prefs/tracked/registry_hash_store_contents_win_unittest.cc |
+++ b/components/user_prefs/tracked/registry_hash_store_contents_win_unittest.cc |
@@ -30,7 +30,8 @@ class RegistryHashStoreContentsWinTest : public testing::Test { |
RegistryHashStoreContentsWinTest() {} |
void SetUp() override { |
- registry_override_manager_.OverrideRegistry(HKEY_CURRENT_USER); |
+ ASSERT_NO_FATAL_FAILURE( |
+ registry_override_manager_.OverrideRegistry(HKEY_CURRENT_USER)); |
contents.reset(new RegistryHashStoreContentsWin(kRegistryPath, kStoreKey)); |
} |