Index: src/effects/SkTestImageFilters.cpp |
diff --git a/src/effects/SkTestImageFilters.cpp b/src/effects/SkTestImageFilters.cpp |
index cc6d1adc4303fe5a031180f0ccc3749521a3eb83..96226f5d25b750ffee2cd6da68b144b3fac671a2 100755 |
--- a/src/effects/SkTestImageFilters.cpp |
+++ b/src/effects/SkTestImageFilters.cpp |
@@ -2,7 +2,8 @@ |
#include "SkTestImageFilters.h" |
#include "SkCanvas.h" |
#include "SkDevice.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
// Simple helper canvas that "takes ownership" of the provided device, so that |
// when this canvas goes out of scope, so will its device. Could be replaced |
@@ -70,13 +71,13 @@ bool SkDownSampleImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, |
return true; |
} |
-void SkDownSampleImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkDownSampleImageFilter::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeScalar(fScale); |
} |
-SkDownSampleImageFilter::SkDownSampleImageFilter(SkFlattenableReadBuffer& buffer) |
+SkDownSampleImageFilter::SkDownSampleImageFilter(SkReadBuffer& buffer) |
: INHERITED(1, buffer) { |
fScale = buffer.readScalar(); |
buffer.validate(SkScalarIsFinite(fScale)); |