| 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 d54240953a41d9654d01dadb43402f3721bc3ebc..f368a8a37394f4da8985f0b02fc8ef76ff1d6b5c 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -1474,7 +1474,7 @@ Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio
|
| return InsertionDone;
|
| }
|
|
|
| -void Element::removedFrom(ContainerNode* insertionPoint)
|
| +void Element::removedFrom(ContainerNode* insertionPoint, Node* next)
|
| {
|
| bool wasInDocument = insertionPoint->inDocument();
|
|
|
| @@ -1506,7 +1506,7 @@ void Element::removedFrom(ContainerNode* insertionPoint)
|
| updateName(nameValue, nullAtom);
|
| }
|
|
|
| - ContainerNode::removedFrom(insertionPoint);
|
| + ContainerNode::removedFrom(insertionPoint, next);
|
| if (wasInDocument) {
|
| if (this == document().cssTarget())
|
| document().setCSSTarget(nullptr);
|
|
|