Index: src/effects/SkDiscretePathEffect.cpp |
diff --git a/src/effects/SkDiscretePathEffect.cpp b/src/effects/SkDiscretePathEffect.cpp |
index b7ec1de3e0f491af3109bfa83af2e89663c44961..de834424df34fc661638fcbb7026bdc8214571a7 100644 |
--- a/src/effects/SkDiscretePathEffect.cpp |
+++ b/src/effects/SkDiscretePathEffect.cpp |
@@ -8,7 +8,8 @@ |
#include "SkDiscretePathEffect.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkPathMeasure.h" |
#include "SkRandom.h" |
@@ -70,13 +71,13 @@ bool SkDiscretePathEffect::filterPath(SkPath* dst, const SkPath& src, |
return true; |
} |
-void SkDiscretePathEffect::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkDiscretePathEffect::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeScalar(fSegLength); |
buffer.writeScalar(fPerterb); |
} |
-SkDiscretePathEffect::SkDiscretePathEffect(SkFlattenableReadBuffer& buffer) { |
+SkDiscretePathEffect::SkDiscretePathEffect(SkReadBuffer& buffer) { |
fSegLength = buffer.readScalar(); |
fPerterb = buffer.readScalar(); |
} |