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

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

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 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) 2005 Alexander Kellett <lypanov@kde.org> 4 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 { 147 {
148 SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange , childCountDelta); 148 SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange , childCountDelta);
149 149
150 if (changedByParser) 150 if (changedByParser)
151 return; 151 return;
152 152
153 if (RenderObject* object = renderer()) 153 if (RenderObject* object = renderer())
154 object->setNeedsLayout(true); 154 object->setNeedsLayout(true);
155 } 155 }
156 156
157 RenderObject* SVGMaskElement::createRenderer(RenderArena* arena, RenderStyle*) 157 RenderObject* SVGMaskElement::createRenderer(RenderStyle*)
158 { 158 {
159 return new (arena) RenderSVGResourceMasker(this); 159 return new RenderSVGResourceMasker(this);
160 } 160 }
161 161
162 bool SVGMaskElement::selfHasRelativeLengths() const 162 bool SVGMaskElement::selfHasRelativeLengths() const
163 { 163 {
164 return x().isRelative() 164 return x().isRelative()
165 || y().isRelative() 165 || y().isRelative()
166 || width().isRelative() 166 || width().isRelative()
167 || height().isRelative(); 167 || height().isRelative();
168 } 168 }
169 169
170 } 170 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698