| Index: third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp b/third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp
|
| index ac089c6206810efa5f517f74eda68a6b3314fd1f..e3847004b1f256284ae646b06559983b341dcac8 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp
|
| @@ -56,7 +56,7 @@ void HTMLMarqueeElement::attributeChanged(const QualifiedName& name, const Atomi
|
| Node::InsertionNotificationRequest HTMLMarqueeElement::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| HTMLElement::insertedInto(insertionPoint);
|
| - if (inDocument()) {
|
| + if (inShadowIncludingDocument()) {
|
| V8HTMLMarqueeElement::PrivateScript::attachedCallbackMethod(document().frame(), this);
|
| }
|
| return InsertionDone;
|
| @@ -65,7 +65,7 @@ Node::InsertionNotificationRequest HTMLMarqueeElement::insertedInto(ContainerNod
|
| void HTMLMarqueeElement::removedFrom(ContainerNode* insertionPoint)
|
| {
|
| HTMLElement::removedFrom(insertionPoint);
|
| - if (insertionPoint->inDocument()) {
|
| + if (insertionPoint->inShadowIncludingDocument()) {
|
| V8HTMLMarqueeElement::PrivateScript::detachedCallbackMethod(insertionPoint->document().frame(), this);
|
| }
|
| }
|
|
|