Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.cpp

Issue 1511523002: Align HTMLImageElement relevant mutations to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix removal issue when a text node is between <source> and <img> Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
index b2ee9ac98748c35c7ae48ef41a8777ede5b7672c..23f1fb3bbede398f29bed91e55295dac170dd735 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
@@ -1515,12 +1515,12 @@ Node::InsertionNotificationRequest HTMLInputElement::insertedInto(ContainerNode*
return InsertionShouldCallDidNotifySubtreeInsertions;
}
-void HTMLInputElement::removedFrom(ContainerNode* insertionPoint)
+void HTMLInputElement::removedFrom(ContainerNode* insertionPoint, Node* next)
{
m_inputTypeView->closePopupView();
if (insertionPoint->inDocument() && !form())
removeFromRadioButtonGroup();
- HTMLTextFormControlElement::removedFrom(insertionPoint);
+ HTMLTextFormControlElement::removedFrom(insertionPoint, next);
ASSERT(!inDocument());
resetListAttributeTargetObserver();
}

Powered by Google App Engine
This is Rietveld 408576698