Chromium Code Reviews
DescriptionFix TextAutosizer not to scheduleRelayout() by MarkContainerChainInLayout
This patch fixes TextAutosizer not to scheduleRelayout() when its
relayoutBehavior is AlreadyInLayout.
r378639 solved the same issue only when markContainerChainForLayout()
has SubtreeLayoutScope, but TextAutosizer does not always have
SubtreeLayoutScope.
To solve this case, MarkContainerChainInLayout is added to mark
container chain without scheduleRelayout(), even when
SubtreeLayoutScope is missing.
BUG=602908
Committed: https://crrev.com/31c3833651246f431a837c65e8f61b20aa1e00b1
Cr-Commit-Position: refs/heads/master@{#388410}
Patch Set 1 #
Total comments: 5
Patch Set 2 : RELEASE_ASSERT #Patch Set 3 : Revert RELEASE_ASSERT #
Messages
Total messages: 13 (6 generated)
|
|||||||||||||||||||||||||||||||||||||