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:
parent
658650c5b4
commit
33c749a586
@ -555,7 +555,7 @@ bool SkBitmap::allocConfigPixels(Config config, int width, int height,
|
|||||||
if (!config_to_colorType(config, &ct)) {
|
if (!config_to_colorType(config, &ct)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SkAlphaType at = isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType;
|
SkAlphaType at = isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType;
|
||||||
if (!validate_alphaType(config, at, &at)) {
|
if (!validate_alphaType(config, at, &at)) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user