| Index: third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/SelectionController.cpp b/third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| index 88d9742d6b0a20624fd5ed11e354f739d06c5463..3db73c6b39660ba2cfaca50c5f90ced80d123c38 100644
|
| --- a/third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| @@ -987,7 +987,9 @@ void SelectionController::sendContextMenuEvent(
|
| // If the selection is non-editable, we do word selection to make it
|
| // easier to use the contextual menu items available for text selections.
|
| // But only if we're above text.
|
| - !(selection().isContentEditable() ||
|
| + !(selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .isContentEditable() ||
|
| (mev.innerNode() && mev.innerNode()->isTextNode())))
|
| return;
|
|
|
|
|