| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 6da31da76d47fc37693792d15e6383f21ab1fba7..55abd09d2c036b4ec5c2c36da054c05d29443c01 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -2092,7 +2092,7 @@ void Element::childrenChanged(const ChildrenChange& change)
|
|
|
| checkForEmptyStyleChange();
|
| if (!change.byParser && change.isChildElementChange())
|
| - checkForSiblingStyleChanges(change.type == ElementRemoved ? SiblingElementRemoved : SiblingElementInserted, change.siblingBeforeChange, change.siblingAfterChange);
|
| + checkForSiblingStyleChanges(change.type == ElementRemoved ? SiblingElementRemoved : SiblingElementInserted, change.siblingChanged, change.siblingBeforeChange, change.siblingAfterChange);
|
|
|
| // TODO(hayato): Confirm that we can skip this if a shadow tree is v1.
|
| if (ElementShadow* shadow = this->shadow())
|
| @@ -2103,7 +2103,7 @@ void Element::finishParsingChildren()
|
| {
|
| setIsFinishedParsingChildren(true);
|
| checkForEmptyStyleChange();
|
| - checkForSiblingStyleChanges(FinishedParsingChildren, lastChild(), nullptr);
|
| + checkForSiblingStyleChanges(FinishedParsingChildren, nullptr, lastChild(), nullptr);
|
| }
|
|
|
| #ifndef NDEBUG
|
|
|