| Index: include/core/SkStrokeRec.h
|
| diff --git a/include/core/SkStrokeRec.h b/include/core/SkStrokeRec.h
|
| index e92cb7ca883aab61113e25dd50359748272a35a6..32e54405632fccba6b7d1d57978f115afa936255 100644
|
| --- a/include/core/SkStrokeRec.h
|
| +++ b/include/core/SkStrokeRec.h
|
| @@ -12,6 +12,7 @@
|
|
|
| class SkPath;
|
|
|
| +SK_BEGIN_REQUIRE_DENSE
|
| class SkStrokeRec {
|
| public:
|
| enum InitStyle {
|
| @@ -118,12 +119,13 @@ private:
|
| // The following three members are packed together into a single u32.
|
| // This is to avoid unnecessary padding and ensure binary equality for
|
| // hashing (because the padded areas might contain garbage values).
|
| - //
|
| + //
|
| // fCap and fJoin are larger than needed to avoid having to initialize
|
| // any pad values
|
| uint32_t fCap : 16; // SkPaint::Cap
|
| uint32_t fJoin : 15; // SkPaint::Join
|
| uint32_t fStrokeAndFill : 1; // bool
|
| };
|
| +SK_END_REQUIRE_DENSE
|
|
|
| #endif
|
|
|