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

Side by Side Diff: Source/core/svg/SVGSVGElement.h

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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 private: 139 private:
140 SVGSVGElement(const QualifiedName&, Document*); 140 SVGSVGElement(const QualifiedName&, Document*);
141 virtual ~SVGSVGElement(); 141 virtual ~SVGSVGElement();
142 142
143 virtual bool isSVGSVGElement() const OVERRIDE { return true; } 143 virtual bool isSVGSVGElement() const OVERRIDE { return true; }
144 144
145 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 145 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
146 146
147 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE; 147 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE;
148 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 148 virtual RenderObject* createRenderer(RenderStyle*);
149 149
150 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 150 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
151 virtual void removedFrom(ContainerNode*) OVERRIDE; 151 virtual void removedFrom(ContainerNode*) OVERRIDE;
152 152
153 virtual void svgAttributeChanged(const QualifiedName&); 153 virtual void svgAttributeChanged(const QualifiedName&);
154 154
155 virtual bool selfHasRelativeLengths() const; 155 virtual bool selfHasRelativeLengths() const;
156 156
157 void inheritViewAttributes(SVGViewElement*); 157 void inheritViewAttributes(SVGViewElement*);
158 158
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 inline SVGSVGElement* toSVGSVGElement(Node* node) 190 inline SVGSVGElement* toSVGSVGElement(Node* node)
191 { 191 {
192 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); 192 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement());
193 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGSVGElemen t()); 193 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGSVGElemen t());
194 return static_cast<SVGSVGElement*>(node); 194 return static_cast<SVGSVGElement*>(node);
195 } 195 }
196 196
197 } // namespace WebCore 197 } // namespace WebCore
198 198
199 #endif 199 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698