Index: src/core/SkFilterShader.cpp |
diff --git a/src/core/SkFilterShader.cpp b/src/core/SkFilterShader.cpp |
index 4fcb9361f199f849a35240ec6096aa86a1f03a04..1e590cb66fffd922c3ab8d3152083423713eb325 100644 |
--- a/src/core/SkFilterShader.cpp |
+++ b/src/core/SkFilterShader.cpp |
@@ -22,8 +22,8 @@ SkFilterShader::SkFilterShader(SkShader* shader, SkColorFilter* filter) { |
SkFilterShader::SkFilterShader(SkFlattenableReadBuffer& buffer) |
: INHERITED(buffer) { |
- fShader = buffer.readFlattenableT<SkShader>(); |
- fFilter = buffer.readFlattenableT<SkColorFilter>(); |
+ fShader = buffer.readShader(); |
+ fFilter = buffer.readColorFilter(); |
} |
SkFilterShader::~SkFilterShader() { |