summaryrefslogtreecommitdiffstats
path: root/components/search_provider_logos/logo_cache_unittest.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-08-27 14:47:21 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-27 21:52:36 +0000
commit1d192de14e8d0a22a4f3bcf30497f2814484c7b1 (patch)
tree6540cc799dd8dc9b73522a34b6bfda3e94ed40ef /components/search_provider_logos/logo_cache_unittest.cc
parent447e14fe56fbbcb57a4b195ec8345c5da2afad48 (diff)
downloadchromium_src-1d192de14e8d0a22a4f3bcf30497f2814484c7b1.zip
chromium_src-1d192de14e8d0a22a4f3bcf30497f2814484c7b1.tar.gz
chromium_src-1d192de14e8d0a22a4f3bcf30497f2814484c7b1.tar.bz2
Remove implicit conversions from scoped_refptr to T* in components/search_provider_logos/
This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Review URL: https://codereview.chromium.org/497723004 Cr-Commit-Position: refs/heads/master@{#292232}
Diffstat (limited to 'components/search_provider_logos/logo_cache_unittest.cc')
-rw-r--r--components/search_provider_logos/logo_cache_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/search_provider_logos/logo_cache_unittest.cc b/components/search_provider_logos/logo_cache_unittest.cc
index 2de507c..47395bd 100644
--- a/components/search_provider_logos/logo_cache_unittest.cc
+++ b/components/search_provider_logos/logo_cache_unittest.cc
@@ -79,8 +79,8 @@ void ExpectMetadataEqual(const LogoMetadata& expected_metadata,
void ExpectLogosEqual(const EncodedLogo& expected_logo,
const EncodedLogo& actual_logo) {
- ASSERT_TRUE(expected_logo.encoded_image);
- ASSERT_TRUE(actual_logo.encoded_image);
+ ASSERT_TRUE(expected_logo.encoded_image.get());
+ ASSERT_TRUE(actual_logo.encoded_image.get());
EXPECT_TRUE(expected_logo.encoded_image->Equals(actual_logo.encoded_image));
ExpectMetadataEqual(expected_logo.metadata, actual_logo.metadata);
}