| 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 e312d48a79480e1c336c6d0945fcc7e521daa577..a44bbf1cfef42a780cded8d906d8a5602859c9f2 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -204,7 +204,7 @@ EditorClient& Editor::client() const {
|
| }
|
|
|
| static bool isCaretAtStartOfWrappedLine(const FrameSelection& selection) {
|
| - if (!selection.isCaret())
|
| + if (!selection.computeVisibleSelectionInDOMTreeDeprecated().isCaret())
|
| return false;
|
| if (selection.affinity() != TextAffinity::Downstream)
|
| return false;
|
|
|