| Index: third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| index 60dde5079917b1ce9e4f93e082fbf2c60fe295b9..32c09d2b5dd99e83ac0eebf4ed0d8239ee842b72 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| @@ -724,19 +724,6 @@ Element* VisibleSelectionTemplate<Strategy>::rootEditableElement() const {
|
| }
|
|
|
| template <typename Strategy>
|
| -void VisibleSelectionTemplate<Strategy>::updateIfNeeded() {
|
| - Document* document = m_base.document();
|
| - if (!document)
|
| - return;
|
| - DCHECK(!document->needsLayoutTreeUpdate());
|
| - const bool hasTrailingWhitespace = m_hasTrailingWhitespace;
|
| - validate(m_granularity);
|
| - if (!hasTrailingWhitespace)
|
| - return;
|
| - appendTrailingWhitespace();
|
| -}
|
| -
|
| -template <typename Strategy>
|
| static bool equalSelectionsAlgorithm(
|
| const VisibleSelectionTemplate<Strategy>& selection1,
|
| const VisibleSelectionTemplate<Strategy>& selection2) {
|
|
|