Bug 125481

Summary: Clear out font width measurement caches on memory pressure.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
koivisto: review+
Lander none

Andreas Kling
Reported 2013-12-09 21:06:06 PST
WidthCache should be jettisoned on memory pressure signal as it's inessential and can be regenerated.
Attachments
Patch (2.35 KB, patch)
2013-12-09 21:07 PST, Andreas Kling
koivisto: review+
Lander (2.23 KB, patch)
2013-12-09 21:21 PST, Andreas Kling
no flags
Andreas Kling
Comment 1 2013-12-09 21:07:03 PST
Antti Koivisto
Comment 2 2013-12-09 21:09:33 PST
Comment on attachment 218827 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=218827&action=review > Source/WebCore/platform/graphics/Font.cpp:219 > +void invalidateWidthCachesInFontGlyphsCache() Maybe just clearWidthCaches?
Andreas Kling
Comment 3 2013-12-09 21:21:31 PST
WebKit Commit Bot
Comment 4 2013-12-09 21:54:55 PST
Comment on attachment 218830 [details] Lander Clearing flags on attachment: 218830 Committed r160349: <http://trac.webkit.org/changeset/160349>
WebKit Commit Bot
Comment 5 2013-12-09 21:54:57 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.