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

Unified Diff: src/image/SkImage_Raster.cpp

Issue 24130009: promote SkImage::AlphaType to SkAlphaType (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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 | « src/image/SkImagePriv.cpp ('k') | src/image/SkSurface_Picture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/image/SkImage_Raster.cpp
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp
index 3e2685606de4dbfd88e07e35d7dbbe38b650e969..cd9b70f018bc6637192dbcca4a581af1b47ffc93 100644
--- a/src/image/SkImage_Raster.cpp
+++ b/src/image/SkImage_Raster.cpp
@@ -27,7 +27,7 @@ public:
if ((unsigned)info.fColorType > (unsigned)kLastEnum_ColorType) {
return false;
}
- if ((unsigned)info.fAlphaType > (unsigned)kLastEnum_AlphaType) {
+ if ((unsigned)info.fAlphaType > (unsigned)kLastEnum_SkAlphaType) {
return false;
}
« no previous file with comments | « src/image/SkImagePriv.cpp ('k') | src/image/SkSurface_Picture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698