Index: chrome/browser/history/top_sites_unittest.cc |
diff --git a/chrome/browser/history/top_sites_unittest.cc b/chrome/browser/history/top_sites_unittest.cc |
index a806b8d83fac96d7bdda5c96ab588aca94fcba95..c197231bd249f891b364de518e497a107783e501 100644 |
--- a/chrome/browser/history/top_sites_unittest.cc |
+++ b/chrome/browser/history/top_sites_unittest.cc |
@@ -1098,6 +1098,11 @@ TEST_F(TopSitesTest, AddTemporaryThumbnail) { |
// We shouldn't get the thumnail back though (the url isn't in to sites yet). |
scoped_refptr<RefCountedBytes> out; |
EXPECT_FALSE(top_sites()->GetPageThumbnail(unknown_url, &out)); |
+ // But we should be able to get the temporary page thumbnail score. |
+ ThumbnailScore out_score; |
+ EXPECT_TRUE(top_sites()->GetTemporaryPageThumbnailScore(unknown_url, |
+ &out_score)); |
+ EXPECT_TRUE(medium_score.Equals(out_score)); |
std::vector<MostVisitedURL> list; |