https://bugs.webkit.org/show_bug.cgi?id=187459
Reviewed by Zalan Bujtas.
Shrink RenderSVGShape from 328 to 320 bytes by moving the bits before the AffineTransform,
which is 16-byte aligned. This saves 9.6KB on nytimes.com.
* rendering/svg/RenderSVGShape.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233649
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2018-07-09 Simon Fraser <simon.fraser@apple.com>
+ Shrink RenderSVGShape
+ https://bugs.webkit.org/show_bug.cgi?id=187459
+
+ Reviewed by Zalan Bujtas.
+
+ Shrink RenderSVGShape from 328 to 320 bytes by moving the bits before the AffineTransform,
+ which is 16-byte aligned. This saves 9.6KB on nytimes.com.
+
+ * rendering/svg/RenderSVGShape.h:
+
+2018-07-09 Simon Fraser <simon.fraser@apple.com>
+
Shrink CSSFontFace
https://bugs.webkit.org/show_bug.cgi?id=187456
private:
FloatRect m_repaintBoundingBox;
FloatRect m_repaintBoundingBoxExcludingShadow;
- AffineTransform m_localTransform;
- std::unique_ptr<Path> m_path;
- Vector<MarkerPosition> m_markerPositions;
bool m_needsBoundariesUpdate : 1;
bool m_needsShapeUpdate : 1;
bool m_needsTransformUpdate : 1;
+
+ AffineTransform m_localTransform;
+ std::unique_ptr<Path> m_path;
+ Vector<MarkerPosition> m_markerPositions;
};
} // namespace WebCore