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

Side by Side Diff: Source/core/svg/SVGStyleElement.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, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2006 Apple Inc. All rights reserved. 4 * Copyright (C) 2006 Apple Inc. All rights reserved.
5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 StyleElement::processStyleSheet(document(), this); 137 StyleElement::processStyleSheet(document(), this);
138 } 138 }
139 139
140 void SVGStyleElement::removedFrom(ContainerNode* rootParent) 140 void SVGStyleElement::removedFrom(ContainerNode* rootParent)
141 { 141 {
142 SVGElement::removedFrom(rootParent); 142 SVGElement::removedFrom(rootParent);
143 if (rootParent->inDocument()) 143 if (rootParent->inDocument())
144 StyleElement::removedFromDocument(document(), this); 144 StyleElement::removedFromDocument(document(), this);
145 } 145 }
146 146
147 void SVGStyleElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) 147 void SVGStyleElement::childrenChanged(const ChildrenChange& change)
148 { 148 {
149 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil dCountDelta); 149 SVGElement::childrenChanged(change);
150 StyleElement::childrenChanged(this); 150 StyleElement::childrenChanged(this);
151 } 151 }
152 152
153 void SVGStyleElement::trace(Visitor* visitor) 153 void SVGStyleElement::trace(Visitor* visitor)
154 { 154 {
155 StyleElement::trace(visitor); 155 StyleElement::trace(visitor);
156 SVGElement::trace(visitor); 156 SVGElement::trace(visitor);
157 } 157 }
158 158
159 } 159 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698