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; |
} |