Index: src/effects/Sk1DPathEffect.cpp |
diff --git a/src/effects/Sk1DPathEffect.cpp b/src/effects/Sk1DPathEffect.cpp |
index 47824fd0f2eac09c0ef8079d42b1ea6cf1fc8cf0..83f684e2ca2bc29b901d1434a2062e37bc16f5ca 100644 |
--- a/src/effects/Sk1DPathEffect.cpp |
+++ b/src/effects/Sk1DPathEffect.cpp |
@@ -147,22 +147,6 @@ static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, |
} |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkPath1DPathEffect::SkPath1DPathEffect(SkReadBuffer& buffer) { |
- fAdvance = buffer.readScalar(); |
- if (fAdvance > 0) { |
- buffer.readPath(&fPath); |
- fInitialOffset = buffer.readScalar(); |
- fStyle = (Style) buffer.readUInt(); |
- } else { |
- SkDEBUGF(("SkPath1DPathEffect can't use advance <= 0\n")); |
- // Make Coverity happy. |
- fInitialOffset = 0; |
- fStyle = kStyleCount; |
- } |
-} |
-#endif |
- |
SkScalar SkPath1DPathEffect::begin(SkScalar contourLength) const { |
return fInitialOffset; |
} |