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.
Created attachment 53491 [details] Patch
Comment on attachment 53491 [details] Patch Clearing flags on attachment: 53491 Committed r57717: <http://trac.webkit.org/changeset/57717>
All reviewed patches have been landed. Closing bug.
(build fix): Committed r57721: <http://trac.webkit.org/changeset/57721>
Thanks Antonio! I don't know how that happened ;( I built with 4.7. Thanks for the fix!
Revision r57717 cherry-picked into qtwebkit-2.0 with commit bed19437e88439572670da41126d0dc463be3298Revision r57721 cherry-picked into qtwebkit-2.0 with commit a4221d7729d4f1ea2a89982f23148c0c59fb9d41