Index: src/effects/SkLerpXfermode.cpp |
diff --git a/src/effects/SkLerpXfermode.cpp b/src/effects/SkLerpXfermode.cpp |
index d73ecf4c5771bd425d6104ec2a51a86c700ec6f1..505ada0b9a022dca90f875ee1f84e33c596e6ef6 100644 |
--- a/src/effects/SkLerpXfermode.cpp |
+++ b/src/effects/SkLerpXfermode.cpp |
@@ -7,7 +7,8 @@ |
#include "SkLerpXfermode.h" |
#include "SkColorPriv.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkString.h" |
SkXfermode* SkLerpXfermode::Create(SkScalar scale) { |
@@ -22,12 +23,12 @@ SkXfermode* SkLerpXfermode::Create(SkScalar scale) { |
SkLerpXfermode::SkLerpXfermode(unsigned scale256) : fScale256(scale256) {} |
-SkLerpXfermode::SkLerpXfermode(SkFlattenableReadBuffer& buffer) |
+SkLerpXfermode::SkLerpXfermode(SkReadBuffer& buffer) |
: INHERITED(buffer) { |
fScale256 = buffer.readUInt(); |
} |
-void SkLerpXfermode::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkLerpXfermode::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeUInt(fScale256); |
} |