Index: src/effects/gradients/SkGradientShader.cpp |
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp |
index 9360ba920e9626a69be5c65f7c8f66e355097e18..fb8bbacdc17c17f49cb7f5b5a9e09e379c27df03 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; |