diff options
author | 2014-01-15 19:59:45 +0000 | |
---|---|---|
committer | 2014-01-15 19:59:45 +0000 | |
commit | 5f62ed74342e44cb1b9671ffdac47c6a81416136 (patch) | |
tree | be22546f4c2be6c18e8f06959882dde987d21d47 /include | |
parent | a3b15ed0373b873d4c497b51384b8c07d751753a (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkBitmap.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 |