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

Unified Diff: chrome/browser/history/top_sites_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
« no previous file with comments | « chrome/browser/history/top_sites_impl.cc ('k') | chrome/browser/history/top_sites_likely_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites_impl_unittest.cc
diff --git a/chrome/browser/history/top_sites_impl_unittest.cc b/chrome/browser/history/top_sites_impl_unittest.cc
index d9bbb80246eb5a1f80f4897bebbf5e329feb9813..1e58ab0ab8328a0fb46453e626995f1ab480f55a 100644
--- a/chrome/browser/history/top_sites_impl_unittest.cc
+++ b/chrome/browser/history/top_sites_impl_unittest.cc
@@ -285,7 +285,7 @@ class TopSitesImplTest : public HistoryUnitTestBase {
base::RefCountedMemory* bytes) {
scoped_refptr<base::RefCountedBytes> encoded_image;
TopSitesImpl::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_impl.cc ('k') | chrome/browser/history/top_sites_likely_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698