Index: components/policy/core/common/schema_map_unittest.cc |
diff --git a/components/policy/core/common/schema_map_unittest.cc b/components/policy/core/common/schema_map_unittest.cc |
index 71dcc68d1ea5776209b8e666d6e38a2a7b283490..cf179109145be68b6d4cb7ad0cf13faf3521358c 100644 |
--- a/components/policy/core/common/schema_map_unittest.cc |
+++ b/components/policy/core/common/schema_map_unittest.cc |
@@ -96,7 +96,7 @@ TEST_F(SchemaMapTest, HasComponents) { |
TEST_F(SchemaMapTest, Lookups) { |
scoped_refptr<SchemaMap> map = CreateTestMap(); |
- ASSERT_TRUE(map); |
+ ASSERT_TRUE(map.get()); |
EXPECT_TRUE(map->HasComponents()); |
EXPECT_FALSE(map->GetSchema( |