| Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| index f82a1556d910cbb48df6375030a969108819d13e..9d46ca37d3a11f8539e6c58289b761a6d2c646e4 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -1918,7 +1918,9 @@ static bool enabledInRichlyEditableText(LocalFrame& frame,
|
| frame.selection()
|
| .computeVisibleSelectionInDOMTreeDeprecated()
|
| .isContentRichlyEditable() &&
|
| - frame.selection().rootEditableElement();
|
| + frame.selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .rootEditableElement();
|
| }
|
|
|
| static bool enabledPaste(LocalFrame& frame,
|
|
|