diff options
Diffstat (limited to 'src/core/SkPathEffect.cpp')
-rw-r--r-- | src/core/SkPathEffect.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/SkPathEffect.cpp b/src/core/SkPathEffect.cpp index 59ba3ec31f..e181320356 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 |