Index: components/policy/core/common/schema_registry_unittest.cc |
diff --git a/components/policy/core/common/schema_registry_unittest.cc b/components/policy/core/common/schema_registry_unittest.cc |
index 631c980c310d98062089b081c0e3beb8d84da793..9d5fbd4f6db0fae5c7544426b24b408a4275bd2e 100644 |
--- a/components/policy/core/common/schema_registry_unittest.cc |
+++ b/components/policy/core/common/schema_registry_unittest.cc |
@@ -68,7 +68,7 @@ TEST(SchemaRegistryTest, Notifications) { |
SchemaRegistry registry; |
registry.AddObserver(&observer); |
- ASSERT_TRUE(registry.schema_map()); |
+ ASSERT_TRUE(registry.schema_map().get()); |
EXPECT_FALSE(registry.schema_map()->GetSchema( |
PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"))); |