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

Side by Side Diff: Source/WebCore/svg/SVGRectElement.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
« no previous file with comments | « Source/WebCore/svg/SVGRadialGradientElement.cpp ('k') | Source/WebCore/svg/SVGSVGElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 inline SVGRectElement::SVGRectElement(const QualifiedName& tagName, Document* do cument) 57 inline SVGRectElement::SVGRectElement(const QualifiedName& tagName, Document* do cument)
58 : SVGStyledTransformableElement(tagName, document) 58 : SVGStyledTransformableElement(tagName, document)
59 , m_x(LengthModeWidth) 59 , m_x(LengthModeWidth)
60 , m_y(LengthModeHeight) 60 , m_y(LengthModeHeight)
61 , m_width(LengthModeWidth) 61 , m_width(LengthModeWidth)
62 , m_height(LengthModeHeight) 62 , m_height(LengthModeHeight)
63 , m_rx(LengthModeWidth) 63 , m_rx(LengthModeWidth)
64 , m_ry(LengthModeHeight) 64 , m_ry(LengthModeHeight)
65 { 65 {
66 ASSERT(hasTagName(SVGNames::rectTag)); 66 ASSERT(hasTagName(SVGNames::rectTag));
67 ScriptWrappable::init(this);
67 registerAnimatedPropertiesForSVGRectElement(); 68 registerAnimatedPropertiesForSVGRectElement();
68 } 69 }
69 70
70 PassRefPtr<SVGRectElement> SVGRectElement::create(const QualifiedName& tagName, Document* document) 71 PassRefPtr<SVGRectElement> SVGRectElement::create(const QualifiedName& tagName, Document* document)
71 { 72 {
72 return adoptRef(new SVGRectElement(tagName, document)); 73 return adoptRef(new SVGRectElement(tagName, document));
73 } 74 }
74 75
75 bool SVGRectElement::isSupportedAttribute(const QualifiedName& attrName) 76 bool SVGRectElement::isSupportedAttribute(const QualifiedName& attrName)
76 { 77 {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } 168 }
168 169
169 RenderObject* SVGRectElement::createRenderer(RenderArena* arena, RenderStyle*) 170 RenderObject* SVGRectElement::createRenderer(RenderArena* arena, RenderStyle*)
170 { 171 {
171 return new (arena) RenderSVGRect(this); 172 return new (arena) RenderSVGRect(this);
172 } 173 }
173 174
174 } 175 }
175 176
176 #endif // ENABLE(SVG) 177 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGRadialGradientElement.cpp ('k') | Source/WebCore/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698