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

Unified Diff: Source/core/html/HTMLDataListElement.cpp

Issue 365673002: Pass a struct to ContainerNode::childrenChanged() instead of separate arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove dead code Created 6 years, 6 months 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: Source/core/html/HTMLDataListElement.cpp
diff --git a/Source/core/html/HTMLDataListElement.cpp b/Source/core/html/HTMLDataListElement.cpp
index 99f268c93952952447a66310b12272e83ecf2732..cc376150b490ee780fd073339924604f3cc5643e 100644
--- a/Source/core/html/HTMLDataListElement.cpp
+++ b/Source/core/html/HTMLDataListElement.cpp
@@ -55,10 +55,10 @@ PassRefPtrWillBeRawPtr<HTMLCollection> HTMLDataListElement::options()
return ensureCachedHTMLCollection(DataListOptions);
}
-void HTMLDataListElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
+void HTMLDataListElement::childrenChanged(const ChildrenChange& change)
{
- HTMLElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
- if (!changedByParser)
+ HTMLElement::childrenChanged(change);
+ if (!change.byParser)
treeScope().idTargetObserverRegistry().notifyObservers(getIdAttribute());
}

Powered by Google App Engine
This is Rietveld 408576698