Bug 165901

Summary: Always clear RenderLayer backing stores when going into page cache.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, kling, simon.fraser, thorton
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Andreas Kling 2016-12-15 08:52:27 PST
We currently have a setting that's always on for iOS and GTK+ that makes us drop RenderLayer backing stores when going into page cache.
Let's enable it on all ports to unify the behavior and free up a little memory.
Comment 1 Andreas Kling 2016-12-15 08:54:38 PST
Created attachment 297194 [details]
Patch
Comment 2 Simon Fraser (smfr) 2016-12-15 09:55:06 PST
Comment on attachment 297194 [details]
Patch

Have you tested to see if this causes any new flashing on Mac when going back/forward in history via the menu or swiping?
Comment 3 Andreas Kling 2016-12-15 10:00:21 PST
(In reply to comment #2)
> Comment on attachment 297194 [details]
> Patch
> 
> Have you tested to see if this causes any new flashing on Mac when going
> back/forward in history via the menu or swiping?

I have! There's no new flash or flicker when going back/forward as far as I can see.
Comment 4 WebKit Commit Bot 2016-12-15 10:37:54 PST
Comment on attachment 297194 [details]
Patch

Clearing flags on attachment: 297194

Committed r209865: <http://trac.webkit.org/changeset/209865>
Comment 5 WebKit Commit Bot 2016-12-15 10:37:59 PST
All reviewed patches have been landed.  Closing bug.