DescriptionNotify the counter code about layout object removals BEFORE removing.
This makes it possible to mark relevant objects for layout. Cannot mark
unrooted subtrees for layout.
Additionally, only notify when told to do so by the caller. Renamed the method
to layoutObjectSubtreeWillBeDetached(), inspired by its
layoutObjectSubtreeAttached() counterpart.
For the sake of consistency, also only call layoutObjectSubtreeAttached() when
actually told to notify.
BUG=492490
R=dsinclair@chromium.org,eae@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196505
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|