| Index: third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp b/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| index cfca437097a7b9dbf2570f197d4774406647c901..b8560628d041d0b45c48d038a974116b19efe562 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| @@ -66,7 +66,10 @@ bool Editor::handleEditingKeyboardEvent(KeyboardEvent* evt) {
|
| return false;
|
| }
|
| if (!focusedElement->containsIncludingHostElements(
|
| - *m_frame->selection().start().computeContainerNode())) {
|
| + *m_frame->selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .start()
|
| + .computeContainerNode())) {
|
| // We should not insert text at selection start if selection doesn't have
|
| // focus. See http://crbug.com/89026
|
| return false;
|
|
|