forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix up cc::Layer scroll parent management
The previous code was trying to perform scroll parent pointer fixup during LayerImpl destruction, which is problematic since ~LayerImpl() always runs during tree synchronization and there is nothing to ensure that the scroll parent's portion of the tree has be fully synchronized when a particular scroll child is being destroyed. Instead, this performs pointer fixup on the main thread and then just pushes the values through to the LayerImpl tree without performing additional fixups. So long as the main-thread (cc::Layer) tree stays structurally valid there's no need for additional changes at layer destruction or tree manipulation time on any LayerImpl trees. BUG=347284 Review URL: https://codereview.chromium.org/182363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254244 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
jamesr@chromium.org
committed
Feb 28, 2014
1 parent
b9473ee
commit d097e24
Showing
6 changed files
with
113 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters