| Index: src/core/SkColorSpace_Base.h
|
| diff --git a/src/core/SkColorSpace_Base.h b/src/core/SkColorSpace_Base.h
|
| index b2d5818e84e31b5e4e58ffcfa8e170be23d07b4b..68514d0ad6353549a2748e20212843d8e872b93d 100644
|
| --- a/src/core/SkColorSpace_Base.h
|
| +++ b/src/core/SkColorSpace_Base.h
|
| @@ -16,20 +16,20 @@ struct SkGammaCurve {
|
| bool isValue() const {
|
| bool result = (0.0f != fValue);
|
| SkASSERT(!result || (0 == fTableSize));
|
| - SkASSERT(!result || (0.0f == fG));
|
| + SkASSERT(!result || (0.0f == fG && 0.0f == fE));
|
| return result;
|
| }
|
|
|
| bool isTable() const {
|
| bool result = (0 != fTableSize);
|
| SkASSERT(!result || (0.0f == fValue));
|
| - SkASSERT(!result || (0.0f == fG));
|
| + SkASSERT(!result || (0.0f == fG && 0.0f == fE));
|
| SkASSERT(!result || fTable);
|
| return result;
|
| }
|
|
|
| bool isParametric() const {
|
| - bool result = (0.0f != fG);
|
| + bool result = (0.0f != fG || 0.0f != fE);
|
| SkASSERT(!result || (0.0f == fValue));
|
| SkASSERT(!result || (0 == fTableSize));
|
| return result;
|
|
|