Shrink FontDescription object size
authorrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2012 01:53:10 +0000 (01:53 +0000)
committerrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2012 01:53:10 +0000 (01:53 +0000)
commit9541b0e58f81cc957ae4921323a71a7e55868cdd
treeca37348b0ee76844b8ef4b6ee244c2b152ff9f77
parenta4176b1993df023f4f5bfd6df414caa4d82a3fb7
Shrink FontDescription object size
https://bugs.webkit.org/show_bug.cgi?id=86950

Reviewed by Alexey Proskuryakov.

Reduce object size of FontDescription by 8 bytes on 64-bit, 4 bytes on 32-bit systems.
Note that this means Font, StyleInheritedData and RenderSVGInlineText shrink too.

* platform/graphics/FontDescription.cpp:
* platform/graphics/FontDescription.h:
(WebCore::FontDescription::script):
(FontDescription):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/FontDescription.cpp
Source/WebCore/platform/graphics/FontDescription.h