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

Side by Side Diff: Source/core/svg/SVGFilterElement.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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 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) 2006 Samuel Weinig <sam.weinig@gmail.com> 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 private: 48 private:
49 SVGFilterElement(const QualifiedName&, Document*); 49 SVGFilterElement(const QualifiedName&, Document*);
50 50
51 virtual bool needsPendingResourceHandling() const { return false; } 51 virtual bool needsPendingResourceHandling() const { return false; }
52 52
53 bool isSupportedAttribute(const QualifiedName&); 53 bool isSupportedAttribute(const QualifiedName&);
54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
55 virtual void svgAttributeChanged(const QualifiedName&); 55 virtual void svgAttributeChanged(const QualifiedName&);
56 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); 56 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0);
57 57
58 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) OVERRIDE; 58 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
59 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV ERRIDE; 59 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV ERRIDE;
60 60
61 virtual bool selfHasRelativeLengths() const; 61 virtual bool selfHasRelativeLengths() const;
62 62
63 static const AtomicString& filterResXIdentifier(); 63 static const AtomicString& filterResXIdentifier();
64 static const AtomicString& filterResYIdentifier(); 64 static const AtomicString& filterResYIdentifier();
65 65
66 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement) 66 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement)
67 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG UnitType) 67 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG UnitType)
68 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType s::SVGUnitType) 68 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType s::SVGUnitType)
(...skipping 10 matching lines...) Expand all
79 79
80 inline SVGFilterElement* toSVGFilterElement(SVGElement* element) 80 inline SVGFilterElement* toSVGFilterElement(SVGElement* element)
81 { 81 {
82 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::f ilterTag)); 82 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::f ilterTag));
83 return static_cast<SVGFilterElement*>(element); 83 return static_cast<SVGFilterElement*>(element);
84 } 84 }
85 85
86 } 86 }
87 87
88 #endif 88 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698