| Index: third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/DOMSelection.cpp b/third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
| index cdf2139e15e666ddb5e024e5484200cc124a96b3..35883c5bd6abb88ad114662e9bf7fd1d05eed359 100644
|
| --- a/third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
| @@ -513,8 +513,7 @@ String DOMSelection::toString()
|
| if (!m_frame)
|
| return String();
|
|
|
| - const EphemeralRange range = m_frame->selection().selection().toNormalizedEphemeralRange();
|
| - return plainText(range, TextIteratorForSelectionToString);
|
| + return m_frame->selection().selectedText(TextIteratorForSelectionToString);
|
| }
|
|
|
| Node* DOMSelection::shadowAdjustedNode(const Position& position) const
|
|
|