Index: src/core/SkFilterShader.cpp |
diff --git a/src/core/SkFilterShader.cpp b/src/core/SkFilterShader.cpp |
index cb042e604cd71836f999f881dc8632dfa262fbd1..48c4b8b477314ba2fbf9a6e64a5859754c7023d7 100644 |
--- a/src/core/SkFilterShader.cpp |
+++ b/src/core/SkFilterShader.cpp |
@@ -21,13 +21,6 @@ SkFilterShader::SkFilterShader(SkShader* shader, SkColorFilter* filter) { |
filter->ref(); |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkFilterShader::SkFilterShader(SkReadBuffer& buffer) : INHERITED(buffer) { |
- fShader = buffer.readShader(); |
- fFilter = buffer.readColorFilter(); |
-} |
-#endif |
- |
SkFilterShader::~SkFilterShader() { |
fFilter->unref(); |
fShader->unref(); |