| 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 af6c0c9ee6be81a70fe3c60681a4781ea6f58736..dcd44c7ca717db5d9f68c1b52934dc4aa4274bd9 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -263,7 +263,10 @@ bool Editor::handleTextEvent(TextEvent* event) {
|
| }
|
|
|
| bool Editor::canEdit() const {
|
| - return frame().selection().rootEditableElement();
|
| + return frame()
|
| + .selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .rootEditableElement();
|
| }
|
|
|
| bool Editor::canEditRichly() const {
|
|
|