| Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| index f10d8fcd1b9e9f0b9474d148ba5e18773e1afd9e..28788f5d5adb87f0cd9e69d87d3c7fd77e716a60 100644
|
| --- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| @@ -1330,6 +1330,13 @@ void ContainerNode::rebuildChildrenLayoutTrees() {
|
| clearChildNeedsReattachLayoutTree();
|
| }
|
|
|
| +void ContainerNode::recalcDescendantStylesForLayout() {
|
| + for (Node* child = lastChild(); child; child = child->previousSibling()) {
|
| + if (child->isElementNode())
|
| + toElement(child)->recalcStyleForLayout();
|
| + }
|
| +}
|
| +
|
| void ContainerNode::checkForSiblingStyleChanges(SiblingCheckType changeType,
|
| Element* changedElement,
|
| Node* nodeBeforeChange,
|
|
|