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

Side by Side Diff: Source/WebCore/svg/SVGImageElement.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/SVGHKernElement.cpp ('k') | Source/WebCore/svg/SVGLineElement.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, 2008, 2009 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Rob Buis <buis@kde.org>
4 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> 4 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 inline SVGImageElement::SVGImageElement(const QualifiedName& tagName, Document* document) 60 inline SVGImageElement::SVGImageElement(const QualifiedName& tagName, Document* document)
61 : SVGStyledTransformableElement(tagName, document) 61 : SVGStyledTransformableElement(tagName, document)
62 , m_x(LengthModeWidth) 62 , m_x(LengthModeWidth)
63 , m_y(LengthModeHeight) 63 , m_y(LengthModeHeight)
64 , m_width(LengthModeWidth) 64 , m_width(LengthModeWidth)
65 , m_height(LengthModeHeight) 65 , m_height(LengthModeHeight)
66 , m_imageLoader(this) 66 , m_imageLoader(this)
67 { 67 {
68 ASSERT(hasTagName(SVGNames::imageTag)); 68 ASSERT(hasTagName(SVGNames::imageTag));
69 ScriptWrappable::init(this);
69 registerAnimatedPropertiesForSVGImageElement(); 70 registerAnimatedPropertiesForSVGImageElement();
70 } 71 }
71 72
72 PassRefPtr<SVGImageElement> SVGImageElement::create(const QualifiedName& tagName , Document* document) 73 PassRefPtr<SVGImageElement> SVGImageElement::create(const QualifiedName& tagName , Document* document)
73 { 74 {
74 return adoptRef(new SVGImageElement(tagName, document)); 75 return adoptRef(new SVGImageElement(tagName, document));
75 } 76 }
76 77
77 bool SVGImageElement::isSupportedAttribute(const QualifiedName& attrName) 78 bool SVGImageElement::isSupportedAttribute(const QualifiedName& attrName)
78 { 79 {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 237
237 void SVGImageElement::didMoveToNewDocument(Document* oldDocument) 238 void SVGImageElement::didMoveToNewDocument(Document* oldDocument)
238 { 239 {
239 m_imageLoader.elementDidMoveToNewDocument(); 240 m_imageLoader.elementDidMoveToNewDocument();
240 SVGStyledTransformableElement::didMoveToNewDocument(oldDocument); 241 SVGStyledTransformableElement::didMoveToNewDocument(oldDocument);
241 } 242 }
242 243
243 } 244 }
244 245
245 #endif // ENABLE(SVG) 246 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGHKernElement.cpp ('k') | Source/WebCore/svg/SVGLineElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698