Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@13185 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2014-01-26 07:01:45 +00:00
parent 658650c5b4
commit 33c749a586

View File

@ -555,7 +555,7 @@ bool SkBitmap::allocConfigPixels(Config config, int width, int height,
if (!config_to_colorType(config, &ct)) {
return false;
}
SkAlphaType at = isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType;
if (!validate_alphaType(config, at, &at)) {
return false;