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

Side by Side Diff: Source/core/svg/SVGMarkerElement.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, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 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) Research In Motion Limited 2009-2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 if (attrName == SVGNames::refXAttr 173 if (attrName == SVGNames::refXAttr
174 || attrName == SVGNames::refYAttr 174 || attrName == SVGNames::refYAttr
175 || attrName == SVGNames::markerWidthAttr 175 || attrName == SVGNames::markerWidthAttr
176 || attrName == SVGNames::markerHeightAttr) 176 || attrName == SVGNames::markerHeightAttr)
177 updateRelativeLengthsInformation(); 177 updateRelativeLengthsInformation();
178 178
179 if (RenderObject* object = renderer()) 179 if (RenderObject* object = renderer())
180 object->setNeedsLayout(true); 180 object->setNeedsLayout(true);
181 } 181 }
182 182
183 void SVGMarkerElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) 183 void SVGMarkerElement::childrenChanged(bool changedByParser, const Handle<Node>& beforeChange, const Handle<Node>& afterChange, int childCountDelta)
184 { 184 {
185 SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange , childCountDelta); 185 SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange , childCountDelta);
186 186
187 if (changedByParser) 187 if (changedByParser)
188 return; 188 return;
189 189
190 if (RenderObject* object = renderer()) 190 if (RenderObject* object = renderer())
191 object->setNeedsLayout(true); 191 object->setNeedsLayout(true);
192 } 192 }
193 193
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 253
254 PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> > SVGMarke rElement::orientTypeAnimated() 254 PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> > SVGMarke rElement::orientTypeAnimated()
255 { 255 {
256 m_orientType.shouldSynchronize = true; 256 m_orientType.shouldSynchronize = true;
257 return static_pointer_cast<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOr ientType> >(lookupOrCreateOrientTypeWrapper(this)); 257 return static_pointer_cast<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOr ientType> >(lookupOrCreateOrientTypeWrapper(this));
258 } 258 }
259 259
260 } 260 }
261 261
262 #endif 262 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698