WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
86950
Shrink FontDescription object size
https://bugs.webkit.org/show_bug.cgi?id=86950
Summary
Shrink FontDescription object size
Rob Buis
Reported
2012-05-19 15:59:54 PDT
Through bit packing we can shrink the size of this class. Note that this means Font, StyleInheritedData and RenderSVGInlineText shrink too.
Attachments
Patch
(2.87 KB, patch)
2012-05-19 16:09 PDT
,
Rob Buis
ap
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Rob Buis
Comment 1
2012-05-19 16:09:20 PDT
Created
attachment 142884
[details]
Patch
Alexey Proskuryakov
Comment 2
2012-05-21 11:51:01 PDT
Comment on
attachment 142884
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=142884&action=review
> Source/WebCore/platform/graphics/FontDescription.cpp:-37 > - void* settings;
This is weird - there is no member names settings, is there?
Rob Buis
Comment 3
2012-05-21 16:53:24 PDT
Hi Alexey, Thanks for the r+! I'll land later tonight. (In reply to
comment #2
)
> (From update of
attachment 142884
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=142884&action=review
> > > Source/WebCore/platform/graphics/FontDescription.cpp:-37 > > - void* settings; > > This is weird - there is no member names settings, is there?
Yes, that had me puzzled for a while too. Maybe m_featureSettings was once called settings? After my patch we get rid of exactly this amount of bytes, and it should make SameSizeAsFontDescription actually accurate this time.
Rob Buis
Comment 4
2012-05-22 07:45:22 PDT
Committed
r117971
: <
http://trac.webkit.org/changeset/117971
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug