| 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..ab3d45cf9ce6369bb84feb70b3915df3f3dab105 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| @@ -139,9 +139,10 @@ void HTMLLabelElement::defaultEventHandler(Event* evt) {
|
|
|
| // If we can't find a control or if the control received the click
|
| // event, then there's no need for us to do anything.
|
| - if (!element || (evt->target() &&
|
| - element->isShadowIncludingInclusiveAncestorOf(
|
| - evt->target()->toNode())))
|
| + if (!element ||
|
| + (evt->target() &&
|
| + element->isShadowIncludingInclusiveAncestorOf(
|
| + evt->target()->toNode())))
|
| return;
|
|
|
| if (evt->target() && isInInteractiveContent(evt->target()->toNode()))
|
|
|