Index: Source/core/dom/NodeRenderingTraversal.cpp |
diff --git a/Source/core/dom/NodeRenderingTraversal.cpp b/Source/core/dom/NodeRenderingTraversal.cpp |
index 496413e966289fa459499cd8da2fe23a5d15a0aa..6cee1a7d1690e57aa586aa33b7f1e44380618e3c 100644 |
--- a/Source/core/dom/NodeRenderingTraversal.cpp |
+++ b/Source/core/dom/NodeRenderingTraversal.cpp |
@@ -49,15 +49,9 @@ void ParentDetails::didTraverseInsertionPoint(const InsertionPoint* insertionPoi |
{ |
if (!m_insertionPoint) { |
m_insertionPoint = insertionPoint; |
- m_resetStyleInheritance = m_resetStyleInheritance || insertionPoint->resetStyleInheritance(); |
} |
} |
-void ParentDetails::didTraverseShadowRoot(const ShadowRoot* root) |
-{ |
- m_resetStyleInheritance = m_resetStyleInheritance || root->resetStyleInheritance(); |
-} |
- |
ContainerNode* parent(const Node* node, ParentDetails* details) |
{ |
// FIXME: We should probably ASSERT(!node->document().childNeedsDistributionRecalc()) here, but |