Index: src/core/SkColorTable.cpp |
diff --git a/src/core/SkColorTable.cpp b/src/core/SkColorTable.cpp |
index 12ec43ec98013f9e1f87510ff1714914572c8f52..b8e7b059e8fa873fc69867a83b52abb307984f03 100644 |
--- a/src/core/SkColorTable.cpp |
+++ b/src/core/SkColorTable.cpp |
@@ -8,7 +8,8 @@ |
#include "SkColorTable.h" |
-#include "SkFlattenableBuffers.h" |
+#include "SkReadBuffer.h" |
+#include "SkWriteBuffer.h" |
#include "SkStream.h" |
#include "SkTemplates.h" |
@@ -83,7 +84,7 @@ const uint16_t* SkColorTable::lock16BitCache() { |
/////////////////////////////////////////////////////////////////////////////// |
-SkColorTable::SkColorTable(SkFlattenableReadBuffer& buffer) { |
+SkColorTable::SkColorTable(SkReadBuffer& buffer) { |
f16BitCache = NULL; |
SkDEBUGCODE(fColorLockCount = 0;) |
SkDEBUGCODE(f16BitCacheLockCount = 0;) |
@@ -105,7 +106,7 @@ SkColorTable::SkColorTable(SkFlattenableReadBuffer& buffer) { |
#endif |
} |
-void SkColorTable::writeToBuffer(SkFlattenableWriteBuffer& buffer) const { |
+void SkColorTable::writeToBuffer(SkWriteBuffer& buffer) const { |
buffer.writeUInt(fAlphaType); |
buffer.writeColorArray(fColors, fCount); |
} |