Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 5008ad18145aeb23a5062beae604402f33c8d7f6..7321eb25e21efa3ec13066b5058845170521c888 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -8,7 +8,8 @@ |
#include "SkMorphologyImageFilter.h" |
#include "SkBitmap.h" |
#include "SkColorPriv.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkRect.h" |
#include "SkMorphology_opts.h" |
#if SK_SUPPORT_GPU |
@@ -20,7 +21,7 @@ |
#include "SkImageFilterUtils.h" |
#endif |
-SkMorphologyImageFilter::SkMorphologyImageFilter(SkFlattenableReadBuffer& buffer) |
+SkMorphologyImageFilter::SkMorphologyImageFilter(SkReadBuffer& buffer) |
: INHERITED(1, buffer) { |
fRadius.fWidth = buffer.readInt(); |
fRadius.fHeight = buffer.readInt(); |
@@ -36,7 +37,7 @@ SkMorphologyImageFilter::SkMorphologyImageFilter(int radiusX, |
} |
-void SkMorphologyImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkMorphologyImageFilter::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeInt(fRadius.fWidth); |
buffer.writeInt(fRadius.fHeight); |