Index: src/core/SkPathEffect.cpp |
diff --git a/src/core/SkPathEffect.cpp b/src/core/SkPathEffect.cpp |
index 59ba3ec31fb39ea6ea98d894b1674003cee72966..e1813203569f8a3f9035c74cfcab1c1275da333f 100644 |
--- a/src/core/SkPathEffect.cpp |
+++ b/src/core/SkPathEffect.cpp |
@@ -8,7 +8,8 @@ |
#include "SkPathEffect.h" |
#include "SkPath.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
/////////////////////////////////////////////////////////////////////////////// |
@@ -39,13 +40,13 @@ SkPairPathEffect::~SkPairPathEffect() { |
/* |
Format: [oe0-factory][pe1-factory][pe0-size][pe0-data][pe1-data] |
*/ |
-void SkPairPathEffect::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkPairPathEffect::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeFlattenable(fPE0); |
buffer.writeFlattenable(fPE1); |
} |
-SkPairPathEffect::SkPairPathEffect(SkFlattenableReadBuffer& buffer) { |
+SkPairPathEffect::SkPairPathEffect(SkReadBuffer& buffer) { |
fPE0 = buffer.readPathEffect(); |
fPE1 = buffer.readPathEffect(); |
// either of these may fail, so we have to check for nulls later on |