| Index: third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp b/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
|
| index 3b94b3b343422401b0779ae447cb7c4d12dd63ac..b1009a2059c91eb26f1338f93206cd2689fd9280 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
|
| @@ -50,7 +50,7 @@ void HTMLBaseElement::parseAttribute(const QualifiedName& name, const AtomicStri
|
| Node::InsertionNotificationRequest HTMLBaseElement::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| HTMLElement::insertedInto(insertionPoint);
|
| - if (insertionPoint->inShadowIncludingDocument())
|
| + if (insertionPoint->isConnected())
|
| document().processBaseElement();
|
| return InsertionDone;
|
| }
|
| @@ -58,7 +58,7 @@ Node::InsertionNotificationRequest HTMLBaseElement::insertedInto(ContainerNode*
|
| void HTMLBaseElement::removedFrom(ContainerNode* insertionPoint)
|
| {
|
| HTMLElement::removedFrom(insertionPoint);
|
| - if (insertionPoint->inShadowIncludingDocument())
|
| + if (insertionPoint->isConnected())
|
| document().processBaseElement();
|
| }
|
|
|
|
|