Bug 124194

Summary: Remote Layer Tree: Assertions during layer flushing after replaceSublayer()
Product: WebKit Reporter: Tim Horton <thorton>
Component: WebKit2Assignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch andersca: review+

Description Tim Horton 2013-11-12 00:27:17 PST
Two glaring issues with PlatformCALayerRemote::replaceSublayer:

1) It double-removes the old child.
2) It it never sets the superlayer backpointer on the new child.
Comment 1 Tim Horton 2013-11-12 00:29:23 PST
Created attachment 216647 [details]
patch
Comment 2 Tim Horton 2013-11-12 10:53:29 PST
http://trac.webkit.org/changeset/159124