| Index: third_party/WebKit/Source/core/dom/ChildFrameDisconnector.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/ChildFrameDisconnector.cpp b/third_party/WebKit/Source/core/dom/ChildFrameDisconnector.cpp
|
| index f34818c8a1a6b1d7e1093b52477c4850fbc020dc..9a7ec21970a50f39843ab243eb1a98f5757b2686 100644
|
| --- a/third_party/WebKit/Source/core/dom/ChildFrameDisconnector.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ChildFrameDisconnector.cpp
|
| @@ -60,7 +60,7 @@ void ChildFrameDisconnector::disconnectCollectedFrameOwners()
|
| HTMLFrameOwnerElement* owner = m_frameOwners[i].get();
|
| // Don't need to traverse up the tree for the first owner since no
|
| // script could have moved it.
|
| - if (!i || root().containsIncludingShadowDOM(owner))
|
| + if (!i || root().isShadowIncludingInclusiveAncestorOf(owner))
|
| owner->disconnectContentFrame();
|
| }
|
| }
|
|
|