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

Side by Side Diff: Source/WebCore/svg/SVGFEImageElement.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2010 Dirk Schulze <krit@webkit.org> 4 * Copyright (C) 2010 Dirk Schulze <krit@webkit.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio) 48 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio)
49 REGISTER_LOCAL_ANIMATED_PROPERTY(href) 49 REGISTER_LOCAL_ANIMATED_PROPERTY(href)
50 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) 50 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
51 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes) 51 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes)
52 END_REGISTER_ANIMATED_PROPERTIES 52 END_REGISTER_ANIMATED_PROPERTIES
53 53
54 inline SVGFEImageElement::SVGFEImageElement(const QualifiedName& tagName, Docume nt* document) 54 inline SVGFEImageElement::SVGFEImageElement(const QualifiedName& tagName, Docume nt* document)
55 : SVGFilterPrimitiveStandardAttributes(tagName, document) 55 : SVGFilterPrimitiveStandardAttributes(tagName, document)
56 { 56 {
57 ASSERT(hasTagName(SVGNames::feImageTag)); 57 ASSERT(hasTagName(SVGNames::feImageTag));
58 ScriptWrappable::init(this);
58 registerAnimatedPropertiesForSVGFEImageElement(); 59 registerAnimatedPropertiesForSVGFEImageElement();
59 } 60 }
60 61
61 PassRefPtr<SVGFEImageElement> SVGFEImageElement::create(const QualifiedName& tag Name, Document* document) 62 PassRefPtr<SVGFEImageElement> SVGFEImageElement::create(const QualifiedName& tag Name, Document* document)
62 { 63 {
63 return adoptRef(new SVGFEImageElement(tagName, document)); 64 return adoptRef(new SVGFEImageElement(tagName, document));
64 } 65 }
65 66
66 SVGFEImageElement::~SVGFEImageElement() 67 SVGFEImageElement::~SVGFEImageElement()
67 { 68 {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 void SVGFEImageElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) con st 213 void SVGFEImageElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) con st
213 { 214 {
214 SVGFilterPrimitiveStandardAttributes::addSubresourceAttributeURLs(urls); 215 SVGFilterPrimitiveStandardAttributes::addSubresourceAttributeURLs(urls);
215 216
216 addSubresourceURL(urls, document()->completeURL(href())); 217 addSubresourceURL(urls, document()->completeURL(href()));
217 } 218 }
218 219
219 } 220 }
220 221
221 #endif // ENABLE(SVG) 222 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGFEGaussianBlurElement.cpp ('k') | Source/WebCore/svg/SVGFEMergeElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698