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

Unified Diff: chrome/browser/history/top_sites_likely_impl_unittest.cc

Issue 16296002: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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: chrome/browser/history/top_sites_likely_impl_unittest.cc
diff --git a/chrome/browser/history/top_sites_likely_impl_unittest.cc b/chrome/browser/history/top_sites_likely_impl_unittest.cc
index 1901b7e2bd7f75df1328fedc7b9207672ac03f95..377e04b0eead4e7b15a9961fab555810e9d18d31 100644
--- a/chrome/browser/history/top_sites_likely_impl_unittest.cc
+++ b/chrome/browser/history/top_sites_likely_impl_unittest.cc
@@ -286,7 +286,7 @@ class TopSitesLikelyImplTest : public HistoryUnitTestBase {
base::RefCountedMemory* bytes) {
scoped_refptr<base::RefCountedBytes> encoded_image;
TopSitesLikelyImpl::EncodeBitmap(image, &encoded_image);
- return ThumbnailsAreEqual(encoded_image, bytes);
+ return ThumbnailsAreEqual(encoded_image.get(), bytes);
}
// Recreates top sites. This forces top sites to reread from the db.
« no previous file with comments | « chrome/browser/history/top_sites_likely_impl.cc ('k') | chrome/browser/history/typed_url_syncable_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698