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

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

Issue 382623002: SkBitmap::Config is no more, use SkColorType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missed some for chromeos and win Created 6 years, 5 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/thumbnails/content_analysis.cc ('k') | chrome/browser/ui/app_list/fast_show_pickler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c8756647c43cdd4d6140611760a77a1bdab57fa1..d8a3ee93aff6f7fd938f8ad2b0dc97f71eadf18d 100644
--- a/chrome/browser/thumbnails/content_analysis_unittest.cc
+++ b/chrome/browser/thumbnails/content_analysis_unittest.cc
@@ -32,7 +32,7 @@ namespace {
unsigned long ImagePixelSum(const SkBitmap& bitmap, const gfx::Rect& rect) {
// Get the sum of pixel values in the rectangle. Applicable only to
// monochrome bitmaps.
- DCHECK_EQ(SkBitmap::kA8_Config, bitmap.config());
+ DCHECK_EQ(kAlpha_8_SkColorType, bitmap.colorType());
unsigned long total = 0;
for (int r = rect.y(); r < rect.bottom(); ++r) {
const uint8* row_data = static_cast<const uint8*>(
« no previous file with comments | « chrome/browser/thumbnails/content_analysis.cc ('k') | chrome/browser/ui/app_list/fast_show_pickler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698