| Index: third_party/WebKit/Source/core/html/HTMLShadowElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLShadowElement.cpp b/third_party/WebKit/Source/core/html/HTMLShadowElement.cpp
|
| index 8926204a74c7d9069cbd0741da420723f843d3d7..47bcba6c334c3a638da9e6c0271a8a5b8bf46791 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLShadowElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLShadowElement.cpp
|
| @@ -68,7 +68,7 @@ ShadowRoot* HTMLShadowElement::olderShadowRoot()
|
|
|
| Node::InsertionNotificationRequest HTMLShadowElement::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| - if (insertionPoint->inShadowIncludingDocument()) {
|
| + if (insertionPoint->isConnected()) {
|
| // Warn if trying to reproject between user agent and author shadows.
|
| ShadowRoot* root = containingShadowRoot();
|
| if (root && root->olderShadowRoot() && root->type() != root->olderShadowRoot()->type()) {
|
|
|