Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index 5410f6a9dfaed46a03025801a25cf25bdf8a5c76..2fc848e10962a86a4bd7dbd2a7644b9308306f4a 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -343,19 +343,6 @@ SkShader::GradientType SkTwoPointConicalGradient::asAGradient( |
return kConical_GradientType; |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkTwoPointConicalGradient::SkTwoPointConicalGradient( |
- SkReadBuffer& buffer) |
- : INHERITED(buffer) |
- , fCenter1(buffer.readPoint()) |
- , fCenter2(buffer.readPoint()) |
- , fRadius1(buffer.readScalar()) |
- , fRadius2(buffer.readScalar()) |
- , fFlippedGrad(buffer.readBool()) { |
- this->init(); |
-} |
-#endif |
- |
SkFlattenable* SkTwoPointConicalGradient::CreateProc(SkReadBuffer& buffer) { |
DescriptorScope desc; |
if (!desc.unflatten(buffer)) { |