From 5f62ed74342e44cb1b9671ffdac47c6a81416136 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Wed, 15 Jan 2014 19:59:45 +0000 Subject: no need to refcnt colortables, since pixelrefs own them BUG=skia: R=halcanary@google.com, scroggo@google.com Review URL: https://codereview.chromium.org/139463007 git-svn-id: http://skia.googlecode.com/svn/trunk@13098 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkBitmap.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h index b8117bd76f..f53a0a7e45 100644 --- a/include/core/SkBitmap.h +++ b/include/core/SkBitmap.h @@ -669,8 +669,7 @@ private: mutable SkPixelRef* fPixelRef; mutable int fPixelLockCount; - // either user-specified (in which case it is not treated as mutable) - // or a cache of the returned value from fPixelRef->lockPixels() + // These are just caches from the locked pixelref mutable void* fPixels; mutable SkColorTable* fColorTable; // only meaningful for kIndex8 -- cgit v1.2.3