Defer 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.


Review URL:

Cr-Commit-Position: refs/heads/master@{#363154}
1 file changed