| Index: third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp b/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| index 546d8a5c743d9a119096aff2623967e4fe71cd76..80deafa2647835d95bfeb39c8b67673b1fbf2603 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| @@ -168,7 +168,9 @@ void HTMLLabelElement::defaultEventHandler(Event* evt) {
|
| // Check if there is a selection and click is not on the
|
| // selection.
|
| if (layoutObject() && layoutObject()->isSelectable() &&
|
| - frame->selection().isRange() &&
|
| + frame->selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .isRange() &&
|
| !frame->eventHandler()
|
| .selectionController()
|
| .mouseDownWasSingleClickInSelection())
|
|
|