Bug 124194 - Remote Layer Tree: Assertions during layer flushing after replaceSublayer()
Summary: Remote Layer Tree: Assertions during layer flushing after replaceSublayer()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-12 00:27 PST by Tim Horton
Modified: 2013-11-12 10:53 PST (History)
2 users (show)

See Also:


Attachments
patch (1.59 KB, patch)
2013-11-12 00:29 PST, Tim Horton
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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