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

Side by Side Diff: Source/core/svg/SVGSwitchElement.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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 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 * 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 26 matching lines...) Expand all
37 static PassRefPtr<SVGSwitchElement> create(const QualifiedName&, Document*); 37 static PassRefPtr<SVGSwitchElement> create(const QualifiedName&, Document*);
38 38
39 private: 39 private:
40 SVGSwitchElement(const QualifiedName&, Document*); 40 SVGSwitchElement(const QualifiedName&, Document*);
41 41
42 virtual bool isValid() const { return SVGTests::isValid(); } 42 virtual bool isValid() const { return SVGTests::isValid(); }
43 virtual bool supportsFocus() const { return true; } 43 virtual bool supportsFocus() const { return true; }
44 44
45 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; 45 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const;
46 46
47 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 47 virtual RenderObject* createRenderer(RenderStyle*);
48 48
49 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSwitchElement) 49 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSwitchElement)
50 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired) 50 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
51 END_DECLARE_ANIMATED_PROPERTIES 51 END_DECLARE_ANIMATED_PROPERTIES
52 52
53 // SVGTests 53 // SVGTests
54 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); } 54 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); }
55 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); } 55 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); }
56 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); } 56 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); }
57 }; 57 };
58 58
59 } // namespace WebCore 59 } // namespace WebCore
60 60
61 #endif 61 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698