Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Unified Diff: components/policy/core/common/schema_map_unittest.cc

Issue 506633004: Remove implicit conversions from scoped_refptr to T* in components/policy/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some more changes Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698