void ShadowRoot::hostChildrenChanged() { if (!hasContentElement()) return; // This results in forced detaching/attaching of the shadow render tree. See ShadowRoot::recalcStyle(). setNeedsReattachHostChildrenAndShadow(); }
void ShadowTree::hostChildrenChanged() { ASSERT(youngestShadowRoot()); if (!youngestShadowRoot()->hasInsertionPoint()) return; // This results in forced detaching/attaching of the shadow render tree. See ShadowRoot::recalcStyle(). setNeedsReattachHostChildrenAndShadow(); }