| Index: src/effects/SkMatrixConvolutionImageFilter.cpp
|
| diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp
|
| index a45004000054da41782202b286c4076f82b69769..b73f623aec7be1ab4dd2a2b87c5358940dde258b 100644
|
| --- a/src/effects/SkMatrixConvolutionImageFilter.cpp
|
| +++ b/src/effects/SkMatrixConvolutionImageFilter.cpp
|
| @@ -8,7 +8,8 @@
|
| #include "SkMatrixConvolutionImageFilter.h"
|
| #include "SkBitmap.h"
|
| #include "SkColorPriv.h"
|
| -#include "SkFlattenableBuffers.h"
|
| +#include "SkReadBuffer.h"
|
| +#include "SkWriteBuffer.h"
|
| #include "SkRect.h"
|
| #include "SkUnPreMultiply.h"
|
|
|
| @@ -57,7 +58,7 @@ SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter(
|
| SkASSERT(target.fY >= 0 && target.fY < kernelSize.fHeight);
|
| }
|
|
|
| -SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter(SkFlattenableReadBuffer& buffer)
|
| +SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter(SkReadBuffer& buffer)
|
| : INHERITED(1, buffer) {
|
| // We need to be able to read at most SK_MaxS32 bytes, so divide that
|
| // by the size of a scalar to know how many scalars we can read.
|
| @@ -88,7 +89,7 @@ SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter(SkFlattenableRead
|
| tile_mode_is_valid(fTileMode));
|
| }
|
|
|
| -void SkMatrixConvolutionImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const {
|
| +void SkMatrixConvolutionImageFilter::flatten(SkWriteBuffer& buffer) const {
|
| this->INHERITED::flatten(buffer);
|
| buffer.writeInt(fKernelSize.fWidth);
|
| buffer.writeInt(fKernelSize.fHeight);
|
|
|