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

Side by Side Diff: Source/WebCore/svg/SVGForeignObjectElement.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/SVGFontFaceUriElement.cpp ('k') | Source/WebCore/svg/SVGGElement.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) 2006 Apple Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 END_REGISTER_ANIMATED_PROPERTIES 55 END_REGISTER_ANIMATED_PROPERTIES
56 56
57 inline SVGForeignObjectElement::SVGForeignObjectElement(const QualifiedName& tag Name, Document* document) 57 inline SVGForeignObjectElement::SVGForeignObjectElement(const QualifiedName& tag Name, Document* document)
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 { 63 {
64 ASSERT(hasTagName(SVGNames::foreignObjectTag)); 64 ASSERT(hasTagName(SVGNames::foreignObjectTag));
65 ScriptWrappable::init(this);
65 registerAnimatedPropertiesForSVGForeignObjectElement(); 66 registerAnimatedPropertiesForSVGForeignObjectElement();
66 } 67 }
67 68
68 PassRefPtr<SVGForeignObjectElement> SVGForeignObjectElement::create(const Qualif iedName& tagName, Document* document) 69 PassRefPtr<SVGForeignObjectElement> SVGForeignObjectElement::create(const Qualif iedName& tagName, Document* document)
69 { 70 {
70 return adoptRef(new SVGForeignObjectElement(tagName, document)); 71 return adoptRef(new SVGForeignObjectElement(tagName, document));
71 } 72 }
72 73
73 bool SVGForeignObjectElement::isSupportedAttribute(const QualifiedName& attrName ) 74 bool SVGForeignObjectElement::isSupportedAttribute(const QualifiedName& attrName )
74 { 75 {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 { 170 {
170 return x().isRelative() 171 return x().isRelative()
171 || y().isRelative() 172 || y().isRelative()
172 || width().isRelative() 173 || width().isRelative()
173 || height().isRelative(); 174 || height().isRelative();
174 } 175 }
175 176
176 } 177 }
177 178
178 #endif 179 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGFontFaceUriElement.cpp ('k') | Source/WebCore/svg/SVGGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698