RESOLVED FIXED 145547
[iOS][WK2] Always mark layers as volatile for background pages
https://bugs.webkit.org/show_bug.cgi?id=145547
Summary [iOS][WK2] Always mark layers as volatile for background pages
Chris Dumez
Reported 2015-06-01 21:28:36 PDT
We currently mark layers as volatile when the WebProcess is about to be suspended. Most of the time the WebProcess gets suspended when a page goes into the background. However, it is not always the case (see radar), in which case the layers won't be marked as volatile and waste memory even though they are not visible. We need to mark layers as volatile as soon as the page goes into the background, instead of relying on the WebProcess suspension mechanism. Radar: <rdar://problem/20663184>
Attachments
Patch (10.86 KB, patch)
2015-06-01 21:55 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-06-01 21:55:02 PDT
WebKit Commit Bot
Comment 2 2015-06-02 14:30:51 PDT
Comment on attachment 254050 [details] Patch Clearing flags on attachment: 254050 Committed r185123: <http://trac.webkit.org/changeset/185123>
WebKit Commit Bot
Comment 3 2015-06-02 14:30:59 PDT
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.