Index: third_party/WebKit/Source/core/dom/Element.h |
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h |
index 02be63d7fcecb0c4f69fd3a294d009132a6354e8..522b8c0a5f5947bb6e8b97c1e2e838485a7d9c17 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -875,8 +875,6 @@ inline Node::InsertionNotificationRequest Node::insertedInto(ContainerNode* inse |
setFlag(IsInShadowTreeFlag); |
if (childNeedsDistributionRecalc() && !insertionPoint->childNeedsDistributionRecalc()) |
insertionPoint->markAncestorsWithChildNeedsDistributionRecalc(); |
- if (document().shadowCascadeOrder() == ShadowCascadeOrder::ShadowCascadeV1) |
- updateAssignmentForInsertedInto(insertionPoint); |
return InsertionDone; |
} |