Index: src/images/SkImageRef.cpp |
diff --git a/src/images/SkImageRef.cpp b/src/images/SkImageRef.cpp |
index 2c1ec38116c60970dd90c465b147f4e80dc83d77..ea129642db15617ccf4f2a1f23b96c2a2979d9de 100644 |
--- a/src/images/SkImageRef.cpp |
+++ b/src/images/SkImageRef.cpp |
@@ -7,7 +7,8 @@ |
*/ |
#include "SkImageRef.h" |
#include "SkBitmap.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkImageDecoder.h" |
#include "SkStream.h" |
#include "SkTemplates.h" |
@@ -162,7 +163,7 @@ size_t SkImageRef::ramUsed() const { |
/////////////////////////////////////////////////////////////////////////////// |
-SkImageRef::SkImageRef(SkFlattenableReadBuffer& buffer, SkBaseMutex* mutex) |
+SkImageRef::SkImageRef(SkReadBuffer& buffer, SkBaseMutex* mutex) |
: INHERITED(buffer, mutex), fErrorInDecoding(false) { |
fSampleSize = buffer.readInt(); |
fDoDither = buffer.readBool(); |
@@ -179,7 +180,7 @@ SkImageRef::SkImageRef(SkFlattenableReadBuffer& buffer, SkBaseMutex* mutex) |
fFactory = NULL; |
} |
-void SkImageRef::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkImageRef::flatten(SkWriteBuffer& buffer) const { |
this->INHERITED::flatten(buffer); |
buffer.writeInt(fSampleSize); |