Index: src/effects/SkRectShaderImageFilter.cpp |
diff --git a/src/effects/SkRectShaderImageFilter.cpp b/src/effects/SkRectShaderImageFilter.cpp |
index a2409076c4083dda04774c6ba3f7c79afc3c3a35..e99899e191bbf2e4ff8afa48fbde6d64a8bacd3c 100644 |
--- a/src/effects/SkRectShaderImageFilter.cpp |
+++ b/src/effects/SkRectShaderImageFilter.cpp |
@@ -45,7 +45,7 @@ SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cr |
SkRectShaderImageFilter::SkRectShaderImageFilter(SkFlattenableReadBuffer& buffer) |
: INHERITED(buffer) { |
- fShader = buffer.readFlattenableT<SkShader>(); |
+ fShader = buffer.readShader(); |
} |
void SkRectShaderImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const { |