Index: src/core/SkComposeShader.cpp |
diff --git a/src/core/SkComposeShader.cpp b/src/core/SkComposeShader.cpp |
index de0ffdb24a19b5d49ce68b967b58e31160a2a479..206608a4e0e420aacdb209847187ace5095ec158 100644 |
--- a/src/core/SkComposeShader.cpp |
+++ b/src/core/SkComposeShader.cpp |
@@ -27,15 +27,15 @@ SkComposeShader::SkComposeShader(SkShader* sA, SkShader* sB, SkXfermode* mode) { |
SkComposeShader::SkComposeShader(SkFlattenableReadBuffer& buffer) : |
INHERITED(buffer) { |
- fShaderA = buffer.readFlattenableT<SkShader>(); |
+ fShaderA = buffer.readShader(); |
if (NULL == fShaderA) { |
fShaderA = SkNEW_ARGS(SkColorShader, (0)); |
} |
- fShaderB = buffer.readFlattenableT<SkShader>(); |
+ fShaderB = buffer.readShader(); |
if (NULL == fShaderB) { |
fShaderB = SkNEW_ARGS(SkColorShader, (0)); |
} |
- fMode = buffer.readFlattenableT<SkXfermode>(); |
+ fMode = buffer.readXfermode(); |
} |
SkComposeShader::~SkComposeShader() { |