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 3db73c6b39660ba2cfaca50c5f90ced80d123c38..dc170495df85852997f3ab2501e0b565930c9557 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionController.cpp |
+++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp |
@@ -795,7 +795,10 @@ void SelectionController::handleMousePressEvent( |
// Avoid double-tap touch gesture confusion by restricting multi-click side |
// effects, e.g., word selection, to editable regions. |
m_mouseDownAllowsMultiClick = |
- !event.event().fromTouch() || selection().hasEditableStyle(); |
+ !event.event().fromTouch() || |
+ selection() |
+ .computeVisibleSelectionInDOMTreeDeprecated() |
+ .hasEditableStyle(); |
} |
void SelectionController::handleMouseDraggedEvent( |