summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/src/core/SkPathEffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/src/core/SkPathEffect.cpp')
-rw-r--r--chromium/third_party/skia/src/core/SkPathEffect.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/chromium/third_party/skia/src/core/SkPathEffect.cpp b/chromium/third_party/skia/src/core/SkPathEffect.cpp
index 59ba3ec31fb..01d5d6f9619 100644
--- a/chromium/third_party/skia/src/core/SkPathEffect.cpp
+++ b/chromium/third_party/skia/src/core/SkPathEffect.cpp
@@ -8,7 +8,8 @@
#include "SkPathEffect.h"
#include "SkPath.h"
-#include "SkFlattenableBuffers.h"
+#include "SkReadBuffer.h"
+#include "SkWriteBuffer.h"
///////////////////////////////////////////////////////////////////////////////
@@ -21,6 +22,10 @@ bool SkPathEffect::asPoints(PointData* results, const SkPath& src,
return false;
}
+SkPathEffect::DashType SkPathEffect::asADash(DashInfo* info) const {
+ return kNone_DashType;
+}
+
///////////////////////////////////////////////////////////////////////////////
SkPairPathEffect::SkPairPathEffect(SkPathEffect* pe0, SkPathEffect* pe1)
@@ -39,13 +44,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