DescriptionRemove unnecessary layout updates from InsertInto/DeleteFromTextNodeCommand
InsertInto/DeleteFromTextNodeCommand used to update layout at the
end of doApply() and unApply(), which is bad because the client
of the clean layout is unclear, and unnecessary layout updates
may be performed.
This patch removes these layout update calls, and explicitly updates
layout before clients.
BUG=694816
TEST=n/a; no behavior change
Review-Url: https://codereview.chromium.org/2705373002
Cr-Commit-Position: refs/heads/master@{#451936}
Committed: https://chromium.googlesource.com/chromium/src/+/7a0a5316f12d0873b3c17a29157b703cf4f1ae36
Patch Set 1 #Patch Set 2 : Add layout updates for clients requiring that explicitly #
Total comments: 1
Messages
Total messages: 20 (16 generated)
|