Index: src/effects/SkPerlinNoiseShader.cpp |
diff --git a/src/effects/SkPerlinNoiseShader.cpp b/src/effects/SkPerlinNoiseShader.cpp |
index cdf8baf682198eb406074ef21ceb150f6dae6fa6..48a25f9a5b921c59259b9356358464a01e03d98f 100644 |
--- a/src/effects/SkPerlinNoiseShader.cpp |
+++ b/src/effects/SkPerlinNoiseShader.cpp |
@@ -8,7 +8,8 @@ |
#include "SkDither.h" |
#include "SkPerlinNoiseShader.h" |
#include "SkColorFilter.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkShader.h" |
#include "SkUnPreMultiply.h" |
#include "SkString.h" |
@@ -293,7 +294,7 @@ SkPerlinNoiseShader::SkPerlinNoiseShader(SkPerlinNoiseShader::Type type, |
fMatrix.reset(); |
} |
-SkPerlinNoiseShader::SkPerlinNoiseShader(SkFlattenableReadBuffer& buffer) : |
+SkPerlinNoiseShader::SkPerlinNoiseShader(SkReadBuffer& buffer) : |
INHERITED(buffer), fPaintingData(NULL) { |
fType = (SkPerlinNoiseShader::Type) buffer.readInt(); |
fBaseFrequencyX = buffer.readScalar(); |
@@ -314,7 +315,7 @@ SkPerlinNoiseShader::~SkPerlinNoiseShader() { |
SkDELETE(fPaintingData); |
} |
-void SkPerlinNoiseShader::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkPerlinNoiseShader::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeInt((int) fType); |
buffer.writeScalar(fBaseFrequencyX); |