Index: third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp |
index 85fbcce80f3d152ca099a2db1a65105d949a1e3a..c7c0ecd59787bc4b6e651bf237664260cad014a9 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp |
@@ -201,11 +201,6 @@ |
if (!lastTypingCommand->willAddTypingToOpenCommand( |
source, InputEvent::InputType::DeleteContentBackward)) |
return; |
- |
- // TODO(editing-dev): Use of updateStyleAndLayoutIgnorePendingStylesheets |
- // needs to be audited. See http://crbug.com/590369 for more details. |
- document.updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
// InputMethodController uses this function to delete composition |
// selection. It won't be aborted. |
lastTypingCommand->deleteSelection(options & SmartDelete, |
@@ -235,12 +230,6 @@ |
if (!lastTypingCommand->willAddTypingToOpenCommand( |
source, InputEvent::InputType::DeleteContentBackward)) |
return; |
- |
- // TODO(editing-dev): The use of |
- // updateStyleAndLayoutIgnorePendingStylesheets needs to be audited. |
- // See http://crbug.com/590369 for more details. |
- document.updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
EditingState editingState; |
lastTypingCommand->deleteKeyPressed(granularity, options & KillRing, |
&editingState); |
@@ -270,11 +259,6 @@ |
if (!lastTypingCommand->willAddTypingToOpenCommand( |
source, InputEvent::InputType::DeleteContentForward)) |
return; |
- |
- // TODO(editing-dev): Use of updateStyleAndLayoutIgnorePendingStylesheets |
- // needs to be audited. See http://crbug.com/590369 for more details. |
- document.updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
lastTypingCommand->forwardDeleteKeyPressed( |
granularity, options & KillRing, editingState); |
return; |
@@ -395,11 +379,6 @@ |
if (!lastTypingCommand->willAddTypingToOpenCommand( |
source, InputEvent::InputType::InsertText, newText)) |
return; |
- |
- // TODO(editing-dev): Use of updateStyleAndLayoutIgnorePendingStylesheets |
- // needs to be audited. See http://crbug.com/590369 for more details. |
- document.updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
EditingState editingState; |
lastTypingCommand->insertText(newText, options & SelectInsertedText, |
&editingState); |
@@ -454,11 +433,6 @@ |
if (!lastTypingCommand->willAddTypingToOpenCommand( |
source, InputEvent::InputType::InsertLineBreak)) |
return false; |
- |
- // TODO(editing-dev): Use of updateStyleAndLayoutIgnorePendingStylesheets |
- // needs to be audited. See http://crbug.com/590369 for more details. |
- document.updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
EditingState editingState; |
lastTypingCommand->insertLineBreak(&editingState); |
return !editingState.isAborted(); |
@@ -475,11 +449,6 @@ |
if (!lastTypingCommand->willAddTypingToOpenCommand( |
source, InputEvent::InputType::InsertParagraph)) |
return false; |
- |
- // TODO(editing-dev): Use of updateStyleAndLayoutIgnorePendingStylesheets |
- // needs to be audited. See http://crbug.com/590369 for more details. |
- document.updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
EditingState editingState; |
lastTypingCommand->insertParagraphSeparatorInQuotedContent(&editingState); |
return !editingState.isAborted(); |
@@ -498,11 +467,6 @@ |
if (!lastTypingCommand->willAddTypingToOpenCommand( |
source, InputEvent::InputType::InsertParagraph)) |
return false; |
- |
- // TODO(editing-dev): Use of updateStyleAndLayoutIgnorePendingStylesheets |
- // needs to be audited. See http://crbug.com/590369 for more details. |
- document.updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
EditingState editingState; |
lastTypingCommand->insertParagraphSeparator(&editingState); |
return !editingState.isAborted(); |