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

Unified Diff: Source/core/svg/SVGElement.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/svg/SVGElement.cpp
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
index 16d0f67f51287be8f2aafbdfb56435540584d6f1..97a4c0aefef81273f82acd6e71770156721fea68 100644
--- a/Source/core/svg/SVGElement.cpp
+++ b/Source/core/svg/SVGElement.cpp
@@ -324,12 +324,12 @@ void SVGElement::removedFrom(ContainerNode* rootParent)
invalidateInstances();
}
-void SVGElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
+void SVGElement::childrenChanged(const ChildrenChange& change)
{
- Element::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
+ Element::childrenChanged(change);
// Invalidate all instances associated with us.
- if (!changedByParser)
+ if (!change.byParser)
invalidateInstances();
}

Powered by Google App Engine
This is Rietveld 408576698