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 147b10fa09c203c7d4978f25893ff29ef469de4d..17330a7795600e765ef2715ad5047d70ccdbfa7d 100644 |
--- a/third_party/WebKit/Source/core/editing/Editor.cpp |
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp |
@@ -156,7 +156,6 @@ Editor::RevealSelectionScope::~RevealSelectionScope() { |
// TODO(yosin): We should make |Editor::selectionForCommand()| to return |
// |SelectionInDOMTree| instead of |VisibleSelection|. |
VisibleSelection Editor::selectionForCommand(Event* event) { |
- frame().selection().updateIfNeeded(); |
VisibleSelection selection = |
frame().selection().computeVisibleSelectionInDOMTreeDeprecated(); |
if (!event) |