| 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 b86f321e6825c21e7b25208f388718d8277954bf..b4cff0c3f69c229e8888bb86fa2bf2d1f5477a4d 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -1942,7 +1942,9 @@ static bool enabledRangeInEditableText(LocalFrame& frame,
|
| return frame.selection()
|
| .computeVisibleSelectionInDOMTreeDeprecated()
|
| .isRange() &&
|
| - frame.selection().isContentEditable();
|
| + frame.selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .isContentEditable();
|
| }
|
|
|
| static bool enabledRangeInRichlyEditableText(LocalFrame& frame,
|
|
|