projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
skia
/
src
/
effects
/
Sk1DPathEffect.cpp
diff --git
a/src/third_party/skia/src/effects/Sk1DPathEffect.cpp
b/src/third_party/skia/src/effects/Sk1DPathEffect.cpp
index
10a68b9
..
7354cda
100644
(file)
--- a/
src/third_party/skia/src/effects/Sk1DPathEffect.cpp
+++ b/
src/third_party/skia/src/effects/Sk1DPathEffect.cpp
@@
-8,7
+8,8
@@
#include "Sk1DPathEffect.h"
#include "Sk1DPathEffect.h"
-#include "SkFlattenableBuffers.h"
+#include "SkReadBuffer.h"
+#include "SkWriteBuffer.h"
#include "SkPathMeasure.h"
bool Sk1DPathEffect::filterPath(SkPath* dst, const SkPath& src,
#include "SkPathMeasure.h"
bool Sk1DPathEffect::filterPath(SkPath* dst, const SkPath& src,
@@
-146,7
+147,7
@@
static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas,
}
}
}
}
-SkPath1DPathEffect::SkPath1DPathEffect(Sk
Flattenable
ReadBuffer& buffer) {
+SkPath1DPathEffect::SkPath1DPathEffect(SkReadBuffer& buffer) {
fAdvance = buffer.readScalar();
if (fAdvance > 0) {
buffer.readPath(&fPath);
fAdvance = buffer.readScalar();
if (fAdvance > 0) {
buffer.readPath(&fPath);
@@
-164,7
+165,7
@@
SkScalar SkPath1DPathEffect::begin(SkScalar contourLength) const {
return fInitialOffset;
}
return fInitialOffset;
}
-void SkPath1DPathEffect::flatten(Sk
Flattenable
WriteBuffer& buffer) const {
+void SkPath1DPathEffect::flatten(SkWriteBuffer& buffer) const {
this->INHERITED::flatten(buffer);
buffer.writeScalar(fAdvance);
if (fAdvance > 0) {
this->INHERITED::flatten(buffer);
buffer.writeScalar(fAdvance);
if (fAdvance > 0) {