Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index fc8d3dda7283f2bbf28bfacf41f81bf4ecc621ec..e56cba1b4b884bcee22c4fa5044bca32295b7894 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -6,7 +6,8 @@ |
*/ |
#include "SkDisplacementMapEffect.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkUnPreMultiply.h" |
#include "SkColorPriv.h" |
#if SK_SUPPORT_GPU |
@@ -172,7 +173,7 @@ SkDisplacementMapEffect::SkDisplacementMapEffect(ChannelSelectorType xChannelSel |
SkDisplacementMapEffect::~SkDisplacementMapEffect() { |
} |
-SkDisplacementMapEffect::SkDisplacementMapEffect(SkFlattenableReadBuffer& buffer) |
+SkDisplacementMapEffect::SkDisplacementMapEffect(SkReadBuffer& buffer) |
: INHERITED(2, buffer) |
{ |
fXChannelSelector = (SkDisplacementMapEffect::ChannelSelectorType) buffer.readInt(); |
@@ -183,7 +184,7 @@ SkDisplacementMapEffect::SkDisplacementMapEffect(SkFlattenableReadBuffer& buffer |
SkScalarIsFinite(fScale)); |
} |
-void SkDisplacementMapEffect::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkDisplacementMapEffect::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeInt((int) fXChannelSelector); |
buffer.writeInt((int) fYChannelSelector); |