| Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| index d7391d43ef068e430a8f55a560419ab38eacdb42..82cc8352677c31380ec47bbf3dcbe4bfb131439c 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| @@ -690,6 +690,10 @@ void CompositeEditCommand::setNodeAttribute(Element* element,
|
| }
|
|
|
| bool CompositeEditCommand::canRebalance(const Position& position) const {
|
| + // TODO(editing-dev): Use of updateStyleAndLayoutIgnorePendingStylesheets()
|
| + // needs to be audited. See http://crbug.com/590369 for more details.
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| Node* node = position.computeContainerNode();
|
| if (!position.isOffsetInAnchor() || !node || !node->isTextNode() ||
|
| !hasRichlyEditableStyle(*node))
|
|
|