aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-12 15:19:30 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-12 15:19:30 +0000
commit728f2a62526c8643ba5d234e6f570a4ebd06271a (patch)
tree92c591697a49040d8cb65908375aa1256d211540 /include
parent2cce3df19adc4bbda837d30f7f533938f579b478 (diff)
Initialize SkPixelRef::fInfo.
Still will need to make subclasses call the version of the constructor that initializes fInfo properly. R=reed@google.com Review URL: https://codereview.chromium.org/110843006 git-svn-id: http://skia.googlecode.com/svn/trunk@12639 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPixelRef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h
index b87b0dc114..ec4937bea0 100644
--- a/include/core/SkPixelRef.h
+++ b/include/core/SkPixelRef.h
@@ -295,6 +295,8 @@ protected:
private:
SkBaseMutex* fMutex; // must remain in scope for the life of this object
+ // FIXME: fInfo should be const once we remove old constructor that does
+ // not set it.
SkImageInfo fInfo;
void* fPixels;