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

Side by Side Diff: Source/core/svg/SVGFELightElement.cpp

Issue 22043003: [oilpan] Handlify childrenChanged. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 4 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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> 4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 } else if (parent->hasTagName(SVGNames::feSpecularLightingTag)) { 200 } else if (parent->hasTagName(SVGNames::feSpecularLightingTag)) {
201 SVGFESpecularLightingElement* specularLighting = Handle<SVGFESpecula rLightingElement>::cast(parent).raw(); 201 SVGFESpecularLightingElement* specularLighting = Handle<SVGFESpecula rLightingElement>::cast(parent).raw();
202 specularLighting->lightElementAttributeChanged(this, attrName); 202 specularLighting->lightElementAttributeChanged(this, attrName);
203 return; 203 return;
204 } 204 }
205 } 205 }
206 206
207 ASSERT_NOT_REACHED(); 207 ASSERT_NOT_REACHED();
208 } 208 }
209 209
210 void SVGFELightElement::childrenChanged(bool changedByParser, Node* beforeChange , Node* afterChange, int childCountDelta) 210 void SVGFELightElement::childrenChanged(bool changedByParser, const Handle<Node> & beforeChange, const Handle<Node>& afterChange, int childCountDelta)
211 { 211 {
212 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil dCountDelta); 212 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil dCountDelta);
213 213
214 if (!changedByParser) { 214 if (!changedByParser) {
215 if (Handle<ContainerNode> parent = parentNode()) { 215 if (Handle<ContainerNode> parent = parentNode()) {
216 RenderObject* renderer = parent->renderer(); 216 RenderObject* renderer = parent->renderer();
217 if (renderer && renderer->isSVGResourceFilterPrimitive()) 217 if (renderer && renderer->isSVGResourceFilterPrimitive())
218 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer); 218 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer);
219 } 219 }
220 } 220 }
221 } 221 }
222 222
223 } 223 }
224 224
225 #endif // ENABLE(SVG) 225 #endif // ENABLE(SVG)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698