WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
CLOSED FIXED
37683
[Qt] WebCore::Font::font() causes a QFont detach
https://bugs.webkit.org/show_bug.cgi?id=37683
Summary
[Qt] WebCore::Font::font() causes a QFont detach
Simon Hausmann
Reported
2010-04-15 16:47:10 PDT
WebCore::Font::font() in platform/graphics/qt/FontQt.cpp calls f.setStyleStrategy(QFont::ForceIntegerMetrics); This causes the QFont object that is owned in FontPlatformData to get detached. Since the value is always the same, the setStyleStrategy call should be moved to FontPlatformData.
Attachments
Patch
(2.00 KB, patch)
2010-04-15 17:03 PDT
,
Simon Hausmann
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Hausmann
Comment 1
2010-04-15 17:03:34 PDT
Created
attachment 53491
[details]
Patch
WebKit Commit Bot
Comment 2
2010-04-16 00:14:28 PDT
Comment on
attachment 53491
[details]
Patch Clearing flags on attachment: 53491 Committed
r57717
: <
http://trac.webkit.org/changeset/57717
>
WebKit Commit Bot
Comment 3
2010-04-16 00:14:34 PDT
All reviewed patches have been landed. Closing bug.
Antonio Gomes
Comment 4
2010-04-16 07:12:43 PDT
(build fix): Committed
r57721
: <
http://trac.webkit.org/changeset/57721
>
Simon Hausmann
Comment 5
2010-04-16 08:08:50 PDT
Thanks Antonio! I don't know how that happened ;( I built with 4.7. Thanks for the fix!
Simon Hausmann
Comment 6
2010-04-20 12:05:39 PDT
Revision
r57717
cherry-picked into qtwebkit-2.0 with commit bed19437e88439572670da41126d0dc463be3298Revision
r57721
cherry-picked into qtwebkit-2.0 with commit a4221d7729d4f1ea2a89982f23148c0c59fb9d41
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