Reduce GradientAttributes object size
https://bugs.webkit.org/show_bug.cgi?id=86151
Patch by Rob Buis <rbuis@rim.com> on 2012-08-20
Reviewed by Eric Seidel.
This reduces GradientAttributes in memory size by 8 bytes on my 64-bit system. It also
reduces the size of RenderSVGResourceLinearGradient and RenderSVGResourceRadialGradient.
* svg/GradientAttributes.h:
(WebCore::GradientAttributes::spreadMethod):
(WebCore::GradientAttributes::gradientUnits):
(GradientAttributes):
(WebCore):
(SameSizeAsGradientAttributes):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed