| 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 5a50facd29f34cfd7e38e20e0632135d5b042c34..a379a3e55c7d1903ec76b25ac00d2683fbe33d6e 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -327,7 +327,7 @@ bool Editor::canPaste() const {
|
| bool Editor::canDelete() const {
|
| FrameSelection& selection = frame().selection();
|
| return selection.computeVisibleSelectionInDOMTreeDeprecated().isRange() &&
|
| - selection.rootEditableElement();
|
| + selection.computeVisibleSelectionInDOMTree().rootEditableElement();
|
| }
|
|
|
| bool Editor::smartInsertDeleteEnabled() const {
|
|
|