Index: include/core/SkColorTable.h |
diff --git a/include/core/SkColorTable.h b/include/core/SkColorTable.h |
index 39553badfc4a70efd56c3551b6a08d422e444cf5..07dfd675b2c37b716ef3524005f4312f3ac607b3 100644 |
--- a/include/core/SkColorTable.h |
+++ b/include/core/SkColorTable.h |
@@ -69,6 +69,7 @@ private: |
void init(const SkPMColor* colors, int count); |
friend class SkImageGenerator; |
+ friend class SkBitmapRegionCodec; |
// Only call if no other thread or cache has seen this table. |
void dangerous_overwriteColors(const SkPMColor newColors[], int count) { |
if (count < 0 || count > fCount) { |