| Index: third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| index 0bfb8b2a77fd083808750d12cd0ad8a2041f1259..7bbe9a6bfcbf00ec1973479f838ee72cfeebd41b 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| @@ -383,7 +383,7 @@ void DeleteSelectionCommand::removeNode(Node* node, EditingState* editingState,
|
| }
|
|
|
| // Make sure empty cell has some height, if a placeholder can be inserted.
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| LayoutObject* r = node->layoutObject();
|
| if (r && r->isTableCell() && toLayoutTableCell(r)->contentHeight() <= 0) {
|
| Position firstEditablePosition = firstEditablePositionInNode(node);
|
| @@ -596,7 +596,7 @@ void DeleteSelectionCommand::handleGeneralDelete(EditingState* editingState)
|
|
|
| void DeleteSelectionCommand::fixupWhitespace()
|
| {
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| // TODO(yosin) |isRenderedCharacter()| should be removed, and we should use
|
| // |VisiblePosition::characterAfter()| and
|
| // |VisiblePosition::characterBefore()|
|
|
|