Index: src/effects/gradients/SkGradientShader.cpp |
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp |
index dff2d8cd4338ab421514d6e960584bd4a0a42838..8b3c4ffaf24e5867fc4f303d5d1eb5a61d0ca467 100644 |
--- a/src/effects/gradients/SkGradientShader.cpp |
+++ b/src/effects/gradients/SkGradientShader.cpp |
@@ -146,7 +146,7 @@ static uint32_t unpack_flags(uint32_t packed) { |
SkGradientShaderBase::SkGradientShaderBase(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) { |
fCacheAlpha = 256; |
- fMapper = buffer.readFlattenableT<SkUnitMapper>(); |
+ fMapper = buffer.readUnitMapper(); |
fCache16 = fCache16Storage = NULL; |
fCache32 = NULL; |