Index: src/effects/SkLayerRasterizer.cpp |
diff --git a/src/effects/SkLayerRasterizer.cpp b/src/effects/SkLayerRasterizer.cpp |
index ea5808c2b4e7c80749a49f932e9e5c431bb42fbf..6381c4d69445632c87c06157e299ce0a153041aa 100644 |
--- a/src/effects/SkLayerRasterizer.cpp |
+++ b/src/effects/SkLayerRasterizer.cpp |
@@ -9,7 +9,8 @@ |
#include "SkLayerRasterizer.h" |
#include "SkDraw.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkMask.h" |
#include "SkMaskFilter.h" |
#include "SkPaint.h" |
@@ -143,7 +144,7 @@ bool SkLayerRasterizer::onRasterize(const SkPath& path, const SkMatrix& matrix, |
return true; |
} |
-SkLayerRasterizer::SkLayerRasterizer(SkFlattenableReadBuffer& buffer) |
+SkLayerRasterizer::SkLayerRasterizer(SkReadBuffer& buffer) |
: SkRasterizer(buffer), fLayers(sizeof(SkLayerRasterizer_Rec)) { |
int count = buffer.readInt(); |
@@ -156,7 +157,7 @@ SkLayerRasterizer::SkLayerRasterizer(SkFlattenableReadBuffer& buffer) |
} |
} |
-void SkLayerRasterizer::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkLayerRasterizer::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeInt(fLayers.count()); |