Index: src/core/SkImageInfo.cpp |
diff --git a/src/core/SkImageInfo.cpp b/src/core/SkImageInfo.cpp |
index 967b4f6f08cee6ccb91d4f6c6547d6871b205c04..27c457391f1582d210c633c55f3d1cf86a1ce50a 100644 |
--- a/src/core/SkImageInfo.cpp |
+++ b/src/core/SkImageInfo.cpp |
@@ -6,7 +6,8 @@ |
*/ |
#include "SkImageInfo.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
static bool alpha_type_is_valid(SkAlphaType alphaType) { |
return (alphaType >= 0) && (alphaType <= kLastEnum_SkAlphaType); |
@@ -16,7 +17,7 @@ static bool color_type_is_valid(SkColorType colorType) { |
return (colorType >= 0) && (colorType <= kLastEnum_SkColorType); |
} |
-void SkImageInfo::unflatten(SkFlattenableReadBuffer& buffer) { |
+void SkImageInfo::unflatten(SkReadBuffer& buffer) { |
fWidth = buffer.read32(); |
fHeight = buffer.read32(); |
@@ -28,7 +29,7 @@ void SkImageInfo::unflatten(SkFlattenableReadBuffer& buffer) { |
color_type_is_valid(fColorType)); |
} |
-void SkImageInfo::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkImageInfo::flatten(SkWriteBuffer& buffer) const { |
buffer.write32(fWidth); |
buffer.write32(fHeight); |