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 5a811b2ddd4d14c8c46e4e5adbfe5ca99e2fa5c9..f87af299317ce39d24b12bdfe86b00999a00ca1d 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -2091,7 +2091,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()) |
@@ -2102,7 +2102,7 @@ void Element::finishParsingChildren() |
{ |
setIsFinishedParsingChildren(true); |
checkForEmptyStyleChange(); |
- checkForSiblingStyleChanges(FinishedParsingChildren, lastChild(), nullptr); |
+ checkForSiblingStyleChanges(FinishedParsingChildren, nullptr, lastChild(), nullptr); |
} |
#ifndef NDEBUG |