Index: src/core/SkColorTable.cpp |
diff --git a/src/core/SkColorTable.cpp b/src/core/SkColorTable.cpp |
index c117443954f5d532cef4bf40372d7e37aaae8d08..242ea6ba64a5c37e1440da31c7fff6a51a3ca42c 100644 |
--- a/src/core/SkColorTable.cpp |
+++ b/src/core/SkColorTable.cpp |
@@ -100,7 +100,7 @@ SkColorTable::SkColorTable(SkFlattenableReadBuffer& buffer) { |
#endif |
} |
-void SkColorTable::flatten(SkFlattenableWriteBuffer& buffer) const { |
+void SkColorTable::writeToBuffer(SkFlattenableWriteBuffer& buffer) const { |
buffer.writeUInt(fAlphaType); |
buffer.writeColorArray(fColors, fCount); |
} |