Bug 119560

Summary: Don't remove contents layer from its parent unless necessary
Product: WebKit Reporter: Dean Jackson <dino>
Component: Layout and RenderingAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch simon.fraser: review+

Description Dean Jackson 2013-08-07 15:07:29 PDT
RenderLayerBacking::updateInternalHierarchy() is called in some instances where there doesn't need to be a complete reparenting of the the m_graphicsLayer. For example, on OS X when the user changes the scrollbar styles to/from always visible. We don't need to always remove the graphics layer from its parent - any reparenting does that automatically.

Unfortunately we can't trigger this situation in an automated test.

<rdar://problem/14290395>
Comment 1 Dean Jackson 2013-08-07 15:09:18 PDT
Created attachment 208302 [details]
Patch
Comment 2 Dean Jackson 2013-08-07 15:15:12 PDT
Committed r153805: <http://trac.webkit.org/changeset/153805>