| Index: third_party/WebKit/Source/core/editing/Editor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| index 2779b19c41197a3ad046474c6eeeb2174742bb07..077c85423e11da6db14b8b798d788a11dc6c1f71 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -796,7 +796,6 @@ static void dispatchEditableContentChangedEvents(Element* startRoot,
|
| void Editor::appliedEditing(CompositeEditCommand* cmd) {
|
| DCHECK(!cmd->isCommandGroupWrapper());
|
| EventQueueScope scope;
|
| - frame().document()->updateStyleAndLayout();
|
|
|
| // Request spell checking before any further DOM change.
|
| spellChecker().markMisspellingsAfterApplyingCommand(*cmd);
|
| @@ -853,7 +852,6 @@ static VisibleSelection correctedVisibleSelection(
|
|
|
| void Editor::unappliedEditing(EditCommandComposition* cmd) {
|
| EventQueueScope scope;
|
| - frame().document()->updateStyleAndLayout();
|
|
|
| dispatchEditableContentChangedEvents(cmd->startingRootEditableElement(),
|
| cmd->endingRootEditableElement());
|
| @@ -883,7 +881,6 @@ void Editor::unappliedEditing(EditCommandComposition* cmd) {
|
|
|
| void Editor::reappliedEditing(EditCommandComposition* cmd) {
|
| EventQueueScope scope;
|
| - frame().document()->updateStyleAndLayout();
|
|
|
| dispatchEditableContentChangedEvents(cmd->startingRootEditableElement(),
|
| cmd->endingRootEditableElement());
|
|
|