Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index a771367a55f430bf99558bf509ac8dfb4597eb4d..59814c672737a883a48839df076b3a8212e89e45 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -774,18 +774,15 @@ void Node::setNeedsStyleRecalc(StyleChangeType changeType, StyleChangeSource sou |
markAncestorsWithChildNeedsStyleRecalc(); |
} |
-void Node::lazyAttach(ShouldSetAttached shouldSetAttached) |
+void Node::lazyAttach() |
{ |
markAncestorsWithChildNeedsStyleRecalc(); |
for (Node* node = this; node; node = NodeTraversal::next(node, this)) { |
node->setStyleChange(LazyAttachStyleChange); |
if (node->isContainerNode()) |
node->setChildNeedsStyleRecalc(); |
- // FIXME: This flag is only used by HTMLFrameElementBase and doesn't look needed. |
- if (shouldSetAttached == SetAttached) |
- node->setAttached(); |
for (ShadowRoot* root = node->youngestShadowRoot(); root; root = root->olderShadowRoot()) |
- root->lazyAttach(shouldSetAttached); |
+ root->lazyAttach(); |
} |
} |