DescriptionDefer widget updates in ContainerNode::parserRemoveChild.
ContainerNode::parserRemoveChild is the only consumer of ContainerNode::removeBetween that doesn't defer widget updates during the call. This could potentially lead to problems with scripts running at an inopportune time.
This patch adds a RAII guard that runs deferred widget updates at the end of parserRemoveChild.
TBR=kouhei@chromium.org
BUG=560011
Review URL: https://codereview.chromium.org/1464223002
Cr-Commit-Position: refs/heads/master@{#363154}
(cherry picked from commit 05926d6f4e749cd49a16fa04a35e3498eb1b01a0)
Committed: https://chromium.googlesource.com/chromium/src/+/ca5ef94e715de68255be76e3d9a9bd4b57ac1ff3
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|