| Index: Source/core/dom/NodeRenderingTraversal.cpp
|
| diff --git a/Source/core/dom/NodeRenderingTraversal.cpp b/Source/core/dom/NodeRenderingTraversal.cpp
|
| index 7353a13d10a3a7d71acef437de72df0fcb11f554..7d8408a432d87c3a2e2c5b3b1d45832b86c23016 100644
|
| --- a/Source/core/dom/NodeRenderingTraversal.cpp
|
| +++ b/Source/core/dom/NodeRenderingTraversal.cpp
|
| @@ -38,18 +38,18 @@ void ParentDetails::didTraverseInsertionPoint(InsertionPoint* insertionPoint)
|
| {
|
| if (!m_insertionPoint) {
|
| m_insertionPoint = insertionPoint;
|
| - m_resetStyleInheritance = m_resetStyleInheritance || insertionPoint->resetStyleInheritance();
|
| + m_resetStyleInheritance = m_resetStyleInheritance || insertionPoint->resetStyleInheritance();
|
| }
|
| }
|
|
|
| void ParentDetails::didTraverseShadowRoot(const ShadowRoot* root)
|
| {
|
| - m_resetStyleInheritance = m_resetStyleInheritance || root->resetStyleInheritance();
|
| + m_resetStyleInheritance = m_resetStyleInheritance || root->resetStyleInheritance();
|
| }
|
|
|
| ContainerNode* parent(const Node* node, ParentDetails* details)
|
| {
|
| - // FIXME: Once everything lazy attaches we should assert that we don't need a distribution recalc here.
|
| + // FIXME: We should probably ASSERT(!node->document().childNeedsDistributionRecalc()) here.
|
| ComposedTreeWalker walker(node, ComposedTreeWalker::CanStartFromShadowBoundary);
|
| ContainerNode* found = toContainerNode(walker.traverseParent(walker.get(), details));
|
| return details->outOfComposition() ? 0 : found;
|
|
|