Index: src/core/SkComposeShader.cpp |
diff --git a/src/core/SkComposeShader.cpp b/src/core/SkComposeShader.cpp |
index 0d2d68717f2c7ccd8647ff5187e221b4c00a691a..b5ea63c24c5ed7e60dbe54d671ef9f59c076953d 100644 |
--- a/src/core/SkComposeShader.cpp |
+++ b/src/core/SkComposeShader.cpp |
@@ -11,7 +11,8 @@ |
#include "SkColorFilter.h" |
#include "SkColorPriv.h" |
#include "SkColorShader.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkXfermode.h" |
#include "SkString.h" |
@@ -25,7 +26,7 @@ SkComposeShader::SkComposeShader(SkShader* sA, SkShader* sB, SkXfermode* mode) { |
SkSafeRef(mode); |
} |
-SkComposeShader::SkComposeShader(SkFlattenableReadBuffer& buffer) : |
+SkComposeShader::SkComposeShader(SkReadBuffer& buffer) : |
INHERITED(buffer) { |
fShaderA = buffer.readShader(); |
if (NULL == fShaderA) { |
@@ -61,7 +62,7 @@ private: |
}; |
#define SkAutoAlphaRestore(...) SK_REQUIRE_LOCAL_VAR(SkAutoAlphaRestore) |
-void SkComposeShader::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkComposeShader::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeFlattenable(fShaderA); |
buffer.writeFlattenable(fShaderB); |