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

Unified Diff: Source/core/html/HTMLElement.h

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/HTMLElement.h
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h
index 492555175a634650522c5f699d2c414e1fc17a3e..3315088763d4ccb63b60f34db2957693c1bcfdd9 100644
--- a/Source/core/html/HTMLElement.h
+++ b/Source/core/html/HTMLElement.h
@@ -107,7 +107,7 @@ protected:
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE;
unsigned parseBorderWidthAttribute(const AtomicString&) const;
- virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE;
+ virtual void childrenChanged(const ChildrenChange&) OVERRIDE;
void calculateAndAdjustDirectionality();
private:
@@ -119,7 +119,7 @@ private:
void dirAttributeChanged(const AtomicString&);
void adjustDirectionalityIfNeededAfterChildAttributeChanged(Element* child);
- void adjustDirectionalityIfNeededAfterChildrenChanged(Node* beforeChange, int childCountDelta);
+ void adjustDirectionalityIfNeededAfterChildrenChanged(const ChildrenChange&);
TextDirection directionality(Node** strongDirectionalityTextNode= 0) const;
TranslateAttributeMode translateAttributeMode() const;

Powered by Google App Engine
This is Rietveld 408576698