WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25856
[Qt] Notify Cache an image is painted and purging can be triggered.
https://bugs.webkit.org/show_bug.cgi?id=25856
Summary
[Qt] Notify Cache an image is painted and purging can be triggered.
Yongjun Zhang
Reported
2009-05-18 11:10:20 PDT
The memory cache needs to be notified if an image is painted; this helps Cache to trigger an purging operation when alive resources reaches its capacity.
Attachments
add observer()->didDraw() to notify cache that this image is drawn.
(1.36 KB, patch)
2009-05-18 11:16 PDT
,
Yongjun Zhang
hausmann
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yongjun Zhang
Comment 1
2009-05-18 11:16:06 PDT
Created
attachment 30450
[details]
add observer()->didDraw() to notify cache that this image is drawn. This helps reducing heap consumption for sites with large number of images.
Simon Hausmann
Comment 2
2009-05-20 01:21:55 PDT
Comment on
attachment 30450
[details]
add observer()->didDraw() to notify cache that this image is drawn. Good catch :)
Simon Hausmann
Comment 3
2009-05-20 01:22:36 PDT
Landed in
r43892
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