Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
index 82f19efb56dc5b74ebc5904a4dc76c8223a12a92..af3defa3ebec4c8926879ad994004671287d9e59 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
@@ -202,7 +202,7 @@ void ShadowRoot::childrenChanged(const ChildrenChange& change) |
ContainerNode::childrenChanged(change); |
if (change.isChildElementChange()) |
- checkForSiblingStyleChanges(change.type == ElementRemoved ? SiblingElementRemoved : SiblingElementInserted, change.siblingChanged, change.siblingBeforeChange, change.siblingAfterChange); |
+ checkForSiblingStyleChanges(change.type == ElementRemoved ? SiblingElementRemoved : SiblingElementInserted, toElement(change.siblingChanged), change.siblingBeforeChange, change.siblingAfterChange); |
if (InsertionPoint* point = shadowInsertionPointOfYoungerShadowRoot()) { |
if (ShadowRoot* root = point->containingShadowRoot()) |