Index: third_party/WebKit/Source/core/html/HTMLLabelElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp b/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp |
index 52932b17fe7915fa4a9c2309f085f4ce51c5d308..fb13d31420596be550b9ec9b55b9900427076eaf 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp |
@@ -252,15 +252,15 @@ Node::InsertionNotificationRequest HTMLLabelElement::insertedInto(ContainerNode* |
return result; |
} |
-void HTMLLabelElement::removedFrom(ContainerNode* insertionPoint) |
+void HTMLLabelElement::removedFrom(ContainerNode* insertionPoint, Node* next) |
{ |
if (insertionPoint->isInTreeScope() && treeScope() == document()) { |
TreeScope& treeScope = insertionPoint->treeScope(); |
if (treeScope.shouldCacheLabelsByForAttribute()) |
updateLabel(treeScope, fastGetAttribute(forAttr), nullAtom); |
} |
- HTMLElement::removedFrom(insertionPoint); |
- FormAssociatedElement::removedFrom(insertionPoint); |
+ HTMLElement::removedFrom(insertionPoint, next); |
+ FormAssociatedElement::removedFrom(insertionPoint, next); |
document().removeFormAssociation(this); |
} |