Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index 50e58bc2dc1ce3fffc3026fcff57fa7c7bc12f26..efa82f49bf3aa3c2a8c8d93f83eb9eb185a1f243 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -239,13 +239,13 @@ SkShader::GradientType SkRadialGradient::asAGradient(GradientInfo* info) const { |
return kRadial_GradientType; |
} |
-SkRadialGradient::SkRadialGradient(SkFlattenableReadBuffer& buffer) |
+SkRadialGradient::SkRadialGradient(SkReadBuffer& buffer) |
: INHERITED(buffer), |
fCenter(buffer.readPoint()), |
fRadius(buffer.readScalar()) { |
} |
-void SkRadialGradient::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkRadialGradient::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writePoint(fCenter); |
buffer.writeScalar(fRadius); |