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

Unified Diff: ui/gfx/image/image_unittest_util.cc

Issue 374633002: SkBitmap::Config is deprecated, use SkColorType instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments from #4 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
« ui/gfx/android/java_bitmap.cc ('K') | « ui/gfx/color_analysis_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_unittest_util.cc
diff --git a/ui/gfx/image/image_unittest_util.cc b/ui/gfx/image/image_unittest_util.cc
index 7349c7d95e72dddb9cf59affa515ca77d5ffedb8..0d173a63acdf8c5922b77ecf72a3c61c032d45c1 100644
--- a/ui/gfx/image/image_unittest_util.cc
+++ b/ui/gfx/image/image_unittest_util.cc
@@ -103,8 +103,8 @@ bool IsEqual(const SkBitmap& bmp1, const SkBitmap& bmp2) {
if (bmp1.width() != bmp2.width() ||
bmp1.height() != bmp2.height() ||
- bmp1.config() != SkBitmap::kARGB_8888_Config ||
- bmp2.config() != SkBitmap::kARGB_8888_Config) {
+ bmp1.colorType() != kN32_SkColorType ||
+ bmp2.colorType() != kN32_SkColorType) {
return false;
}
« ui/gfx/android/java_bitmap.cc ('K') | « ui/gfx/color_analysis_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698