Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 14be6a50b3d33c8aa8231367b33d4ae9fd52f611..ac040ddd5f830bffa77de90a4384c69a088ceae3 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -9,7 +9,8 @@ |
#include "SkBlurMaskFilter.h" |
#include "SkBlurMask.h" |
#include "SkGpuBlurUtils.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkMaskFilter.h" |
#include "SkRRect.h" |
#include "SkRTConf.h" |
@@ -71,8 +72,8 @@ private: |
SkBlurMaskFilter::BlurStyle fBlurStyle; |
uint32_t fBlurFlags; |
- SkBlurMaskFilterImpl(SkFlattenableReadBuffer&); |
- virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE; |
+ SkBlurMaskFilterImpl(SkReadBuffer&); |
+ virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
SkScalar computeXformedSigma(const SkMatrix& ctm) const { |
bool ignoreTransform = SkToBool(fBlurFlags & SkBlurMaskFilter::kIgnoreTransform_BlurFlag); |
@@ -482,7 +483,7 @@ void SkBlurMaskFilterImpl::computeFastBounds(const SkRect& src, |
src.fRight + pad, src.fBottom + pad); |
} |
-SkBlurMaskFilterImpl::SkBlurMaskFilterImpl(SkFlattenableReadBuffer& buffer) |
+SkBlurMaskFilterImpl::SkBlurMaskFilterImpl(SkReadBuffer& buffer) |
: SkMaskFilter(buffer) { |
fSigma = buffer.readScalar(); |
fBlurStyle = (SkBlurMaskFilter::BlurStyle)buffer.readInt(); |
@@ -491,7 +492,7 @@ SkBlurMaskFilterImpl::SkBlurMaskFilterImpl(SkFlattenableReadBuffer& buffer) |
SkASSERT((unsigned)fBlurStyle < SkBlurMaskFilter::kBlurStyleCount); |
} |
-void SkBlurMaskFilterImpl::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkBlurMaskFilterImpl::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeScalar(fSigma); |
buffer.writeInt(fBlurStyle); |