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

Unified Diff: chrome/browser/thumbnails/content_analysis_unittest.cc

Issue 15458003: Plugs in the new thumbnailing algorithm to ThumbnailTabHelper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed up a compile problem (indpendent change). 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/thumbnails/content_analysis_unittest.cc
diff --git a/chrome/browser/thumbnails/content_analysis_unittest.cc b/chrome/browser/thumbnails/content_analysis_unittest.cc
index 96fcd64b6f5166256fc4c0567915af58ae89f59f..a36b375dca0f2c5d682ba42d725d1500156207cc 100644
--- a/chrome/browser/thumbnails/content_analysis_unittest.cc
+++ b/chrome/browser/thumbnails/content_analysis_unittest.cc
@@ -389,7 +389,7 @@ TEST_F(ThumbnailContentAnalysisTest, ComputeDecimatedImage) {
gfx::Point(0, 0)));
}
-TEST_F(ThumbnailContentAnalysisTest, CreateRetargettedThumbnailImage) {
+TEST_F(ThumbnailContentAnalysisTest, CreateRetargetedThumbnailImage) {
gfx::Size image_size(1200, 1300);
gfx::Canvas canvas(image_size, ui::SCALE_FACTOR_100P, true);
@@ -475,7 +475,7 @@ TEST_F(ThumbnailContentAnalysisTest, CreateRetargettedThumbnailImage) {
SkBitmap source =
skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false);
- SkBitmap result = CreateRetargettedThumbnailImage(
+ SkBitmap result = CreateRetargetedThumbnailImage(
source, gfx::Size(424, 264), 2.5);
EXPECT_FALSE(result.empty());
« no previous file with comments | « chrome/browser/thumbnails/content_analysis.cc ('k') | chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698