Index: src/core/SkFilterShader.cpp |
diff --git a/src/core/SkFilterShader.cpp b/src/core/SkFilterShader.cpp |
index 1e590cb66fffd922c3ab8d3152083423713eb325..feea75b48b182f5539231f4c7b11531246de0503 100644 |
--- a/src/core/SkFilterShader.cpp |
+++ b/src/core/SkFilterShader.cpp |
@@ -8,7 +8,8 @@ |
#include "SkFilterShader.h" |
#include "SkColorFilter.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkShader.h" |
#include "SkString.h" |
@@ -20,7 +21,7 @@ SkFilterShader::SkFilterShader(SkShader* shader, SkColorFilter* filter) { |
filter->ref(); |
} |
-SkFilterShader::SkFilterShader(SkFlattenableReadBuffer& buffer) |
+SkFilterShader::SkFilterShader(SkReadBuffer& buffer) |
: INHERITED(buffer) { |
fShader = buffer.readShader(); |
fFilter = buffer.readColorFilter(); |
@@ -31,7 +32,7 @@ SkFilterShader::~SkFilterShader() { |
fShader->unref(); |
} |
-void SkFilterShader::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkFilterShader::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeFlattenable(fShader); |
buffer.writeFlattenable(fFilter); |