Index: src/effects/gradients/SkTwoPointRadialGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointRadialGradient.cpp b/src/effects/gradients/SkTwoPointRadialGradient.cpp |
index 207f3db65377bfc6a2aa206a6c000bdf62db37e9..103e7d41c9ca445c52fbb2ab887bf698117fff36 100644 |
--- a/src/effects/gradients/SkTwoPointRadialGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointRadialGradient.cpp |
@@ -334,7 +334,7 @@ void SkTwoPointRadialGradient::toString(SkString* str) const { |
#endif |
SkTwoPointRadialGradient::SkTwoPointRadialGradient( |
- SkFlattenableReadBuffer& buffer) |
+ SkReadBuffer& buffer) |
: INHERITED(buffer), |
fCenter1(buffer.readPoint()), |
fCenter2(buffer.readPoint()), |
@@ -344,7 +344,7 @@ SkTwoPointRadialGradient::SkTwoPointRadialGradient( |
}; |
void SkTwoPointRadialGradient::flatten( |
- SkFlattenableWriteBuffer& buffer) const { |
+ SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writePoint(fCenter1); |
buffer.writePoint(fCenter2); |