Index: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp |
index 0657d8790fb800d1a33b4c2a49037132498a02d6..4f321667275a6f5cfe8e00efe106feb5b83af72b 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp |
@@ -122,7 +122,7 @@ void InsertionPoint::detachLayoutTree(const AttachContext& context) |
void InsertionPoint::willRecalcStyle(StyleRecalcChange change) |
{ |
- if (change < Inherit && getStyleChangeType() < SubtreeStyleChange) |
+ if (change < IndependentInherit && getStyleChangeType() < SubtreeStyleChange) |
return; |
for (size_t i = 0; i < m_distributedNodes.size(); ++i) |
m_distributedNodes.at(i)->setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::PropagateInheritChangeToDistributedNodes)); |