Index: src/effects/SkPixelXorXfermode.cpp |
diff --git a/src/effects/SkPixelXorXfermode.cpp b/src/effects/SkPixelXorXfermode.cpp |
index b9c96dc382addba709f369d7f9e2afa1f7ca3441..eaf7757453540aba7f42cc35a39d56e6bd22305f 100644 |
--- a/src/effects/SkPixelXorXfermode.cpp |
+++ b/src/effects/SkPixelXorXfermode.cpp |
@@ -9,7 +9,8 @@ |
#include "SkPixelXorXfermode.h" |
#include "SkColorPriv.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkString.h" |
// we always return an opaque color, 'cause I don't know what to do with |
@@ -20,12 +21,12 @@ SkPMColor SkPixelXorXfermode::xferColor(SkPMColor src, SkPMColor dst) const { |
return res; |
} |
-void SkPixelXorXfermode::flatten(SkFlattenableWriteBuffer& wb) const { |
+void SkPixelXorXfermode::flatten(SkWriteBuffer& wb) const { |
this->INHERITED::flatten(wb); |
wb.writeColor(fOpColor); |
} |
-SkPixelXorXfermode::SkPixelXorXfermode(SkFlattenableReadBuffer& rb) |
+SkPixelXorXfermode::SkPixelXorXfermode(SkReadBuffer& rb) |
: INHERITED(rb) { |
fOpColor = rb.readColor(); |
} |