| 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 330a6027b22b378232695d59bc56da084a9aadbc..2bda5cdbf441a5e23692f3e6f0a5aa4eaed21e93 100644
|
| --- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| @@ -767,7 +767,6 @@ void ContainerNode::attachLayoutTree(const AttachContext& context) {
|
| }
|
|
|
| clearChildNeedsStyleRecalc();
|
| - clearChildNeedsReattachLayoutTree();
|
| Node::attachLayoutTree(context);
|
| }
|
|
|
| @@ -1287,7 +1286,7 @@ void ContainerNode::recalcDescendantStyles(StyleRecalcChange change) {
|
| } else if (child->isElementNode()) {
|
| Element* element = toElement(child);
|
| if (element->shouldCallRecalcStyle(change))
|
| - element->recalcStyle(change);
|
| + element->recalcStyle(change, lastTextNode);
|
| else if (element->supportsStyleSharing())
|
| styleResolver.addToStyleSharingList(*element);
|
| if (element->layoutObject())
|
|
|