Index: src/effects/SkAvoidXfermode.cpp |
diff --git a/src/effects/SkAvoidXfermode.cpp b/src/effects/SkAvoidXfermode.cpp |
index d76efb839e484a063d515c3eb325def0308c5ff6..a3334926f59c328ce5aa9b1b7feff6336eeb27a3 100644 |
--- a/src/effects/SkAvoidXfermode.cpp |
+++ b/src/effects/SkAvoidXfermode.cpp |
@@ -7,7 +7,8 @@ |
#include "SkAvoidXfermode.h" |
#include "SkColorPriv.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkString.h" |
SkAvoidXfermode::SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode) { |
@@ -20,14 +21,14 @@ SkAvoidXfermode::SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode) { |
fMode = mode; |
} |
-SkAvoidXfermode::SkAvoidXfermode(SkFlattenableReadBuffer& buffer) |
+SkAvoidXfermode::SkAvoidXfermode(SkReadBuffer& buffer) |
: INHERITED(buffer) { |
fOpColor = buffer.readColor(); |
fDistMul = buffer.readUInt(); |
fMode = (Mode)buffer.readUInt(); |
} |
-void SkAvoidXfermode::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkAvoidXfermode::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeColor(fOpColor); |