aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkColorTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkColorTable.h')
-rw-r--r--include/core/SkColorTable.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/core/SkColorTable.h b/include/core/SkColorTable.h
index 40919d3bac..ca5efd1fe1 100644
--- a/include/core/SkColorTable.h
+++ b/include/core/SkColorTable.h
@@ -71,16 +71,6 @@ 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) {
- sk_throw();
- }
- // assumes that f16BitCache nas NOT been initialized yet, so we don't try to update it
- memcpy(fColors, newColors, count * sizeof(SkPMColor));
- fCount = count; // update fCount, in case count is smaller
- }
typedef SkRefCnt INHERITED;
};