Index: src/effects/SkRectShaderImageFilter.cpp |
diff --git a/src/effects/SkRectShaderImageFilter.cpp b/src/effects/SkRectShaderImageFilter.cpp |
index 2ee1d4a2ed6be4d712de95013d6c1a40d1a1f7a7..b78f6475e771b39fa29c58b66f3289b0cb2c23e1 100644 |
--- a/src/effects/SkRectShaderImageFilter.cpp |
+++ b/src/effects/SkRectShaderImageFilter.cpp |
@@ -27,7 +27,7 @@ SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const SkRect& rect |
SkRectShaderImageFilter::SkRectShaderImageFilter(SkFlattenableReadBuffer& buffer) |
: INHERITED(buffer) { |
- fShader = buffer.readFlattenableT<SkShader>(); |
+ fShader = buffer.readShader(); |
buffer.readRect(&fRect); |
} |