| 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 bc0863b04b428eaf86f7f9eb0f39c14eb253ba50..87a3cb36c10b424a4e45d216acfa584cc781c831 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| @@ -233,7 +233,7 @@ Node::InsertionNotificationRequest HTMLLabelElement::insertedInto(ContainerNode*
|
| InsertionNotificationRequest result = HTMLElement::insertedInto(insertionPoint);
|
|
|
| // Trigger for elements outside of forms.
|
| - if (!formOwner() && insertionPoint->inShadowIncludingDocument())
|
| + if (!formOwner() && insertionPoint->isConnected())
|
| document().didAssociateFormControl(this);
|
|
|
| return result;
|
|
|