| 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 c1d65e69845e5eed3c14e6b6ed1f5674c71bd091..fcffbb5ec92a70eecdc71115c60efa2637c8c877 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->inDocument()) {
|
| + if (insertionPoint->inShadowIncludingDocument()) {
|
| // Warn if trying to reproject between user agent and author shadows.
|
| ShadowRoot* root = containingShadowRoot();
|
| if (root && root->olderShadowRoot() && root->type() != root->olderShadowRoot()->type()) {
|
|
|