Expand SkMatrix type mask from uint8 to uint32, aligning the struct
so there's no uninitialized padding and potentially allowing future expansion. http://codereview.appspot.com/5824056/ http://code.google.com/p/skia/issues/detail?id=354 git-svn-id: http://skia.googlecode.com/svn/trunk@3395 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
49794c0cbd
commit
601d312bd4
@ -566,8 +566,8 @@ private:
|
||||
kRectStaysRect_Mask
|
||||
};
|
||||
|
||||
SkScalar fMat[9];
|
||||
mutable uint8_t fTypeMask;
|
||||
SkScalar fMat[9];
|
||||
mutable uint32_t fTypeMask;
|
||||
|
||||
uint8_t computeTypeMask() const;
|
||||
uint8_t computePerspectiveTypeMask() const;
|
||||
|
Loading…
Reference in New Issue
Block a user