| Index: third_party/WebKit/Source/core/editing/SelectionEditor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/SelectionEditor.cpp b/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
|
| index 7d38c7e2e8c82850fc667062453d25067df8ec20..cbf5174bbe79a2e473cd2bfea18c64318f559894 100644
|
| --- a/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
|
| @@ -375,12 +375,6 @@ bool SelectionEditor::shouldAlwaysUseDirectionalSelection() const {
|
| return frame()->editor().behavior().shouldConsiderSelectionAsDirectional();
|
| }
|
|
|
| -void SelectionEditor::updateIfNeeded() {
|
| - // TODO(yosin): We should unify |SelectionEditor::updateIfNeeded()| and
|
| - // |updateCachedVisibleSelectionIfNeeded()|
|
| - updateCachedVisibleSelectionIfNeeded();
|
| -}
|
| -
|
| bool SelectionEditor::needsUpdateVisibleSelection() const {
|
| return m_cacheIsDirty || m_styleVersion != document().styleVersion();
|
| }
|
|
|