Chromium Code Reviews
DescriptionRemove layout updates from Editor::{applied,unapplied,reapplied}Editing
This patch removes the updateStyleAndLayout calls from the above mentioned
functions for the following reasons.
The clean layout generated by the call in Editor::appliedEditing is only used
by spell checker. However, that spell checker requires clean layout is an
implementation detail and should not be exposed to callers. This patch moves
the call into spell checker.
The two calls in Editor::{un,re}appliedEditing appear to be useless as they
are immediately followed by event dispatching, which does not require clean
layout but may make the layout dirty again. So they are removed by this patch.
BUG=590369
Committed: https://crrev.com/2363de77aa3111cbd8fa2f270c22e8d44cf0f77e
Cr-Commit-Position: refs/heads/master@{#426167}
Patch Set 1 #
Messages
Total messages: 18 (11 generated)
|
||||||||||||||||||||||||||||