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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormControlElementWithState.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/HTMLFormControlElementWithState.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElementWithState.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElementWithState.cpp
index 88c2036dd753fff77b4855e7a4dd13cef236dfca..f0fdf9193da0ee579dc77368129cfd69fd18bee7 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElementWithState.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElementWithState.cpp
@@ -50,11 +50,11 @@ Node::InsertionNotificationRequest HTMLFormControlElementWithState::insertedInto
return HTMLFormControlElement::insertedInto(insertionPoint);
}
-void HTMLFormControlElementWithState::removedFrom(ContainerNode* insertionPoint)
+void HTMLFormControlElementWithState::removedFrom(ContainerNode* insertionPoint, Node* next)
{
if (insertionPoint->inDocument() && !containingShadowRoot() && !insertionPoint->containingShadowRoot())
document().formController().unregisterStatefulFormControl(*this);
- HTMLFormControlElement::removedFrom(insertionPoint);
+ HTMLFormControlElement::removedFrom(insertionPoint, next);
}
bool HTMLFormControlElementWithState::shouldAutocomplete() const

Powered by Google App Engine
This is Rietveld 408576698