Index: components/suggestions/image_manager_unittest.cc |
diff --git a/components/suggestions/image_manager_unittest.cc b/components/suggestions/image_manager_unittest.cc |
index 28398c342689b304ee5431ecac1da24afc8082d2..4ead42d118ca5cecc97c1cf1e952361bfee44cfc 100644 |
--- a/components/suggestions/image_manager_unittest.cc |
+++ b/components/suggestions/image_manager_unittest.cc |
@@ -204,7 +204,7 @@ TEST_F(ImageManagerTest, GetImageForURLNetworkCacheHit) { |
// Expect something in the cache. |
auto encoded_image = |
image_manager_->GetEncodedImageFromCache(GURL(kTestUrl1)); |
- EXPECT_NE(nullptr, encoded_image); |
+ EXPECT_TRUE(encoded_image); |
base::RunLoop run_loop; |
image_manager_->GetImageForURL(GURL(kTestUrl1), |