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

Side by Side Diff: Source/WebCore/svg/SVGFEMorphologyElement.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/SVGFEMergeNodeElement.cpp ('k') | Source/WebCore/svg/SVGFEOffsetElement.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) 2009 Dirk Schulze <krit@webkit.org> 2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 REGISTER_LOCAL_ANIMATED_PROPERTY(radiusX) 43 REGISTER_LOCAL_ANIMATED_PROPERTY(radiusX)
44 REGISTER_LOCAL_ANIMATED_PROPERTY(radiusY) 44 REGISTER_LOCAL_ANIMATED_PROPERTY(radiusY)
45 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes) 45 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes)
46 END_REGISTER_ANIMATED_PROPERTIES 46 END_REGISTER_ANIMATED_PROPERTIES
47 47
48 inline SVGFEMorphologyElement::SVGFEMorphologyElement(const QualifiedName& tagNa me, Document* document) 48 inline SVGFEMorphologyElement::SVGFEMorphologyElement(const QualifiedName& tagNa me, Document* document)
49 : SVGFilterPrimitiveStandardAttributes(tagName, document) 49 : SVGFilterPrimitiveStandardAttributes(tagName, document)
50 , m__operator(FEMORPHOLOGY_OPERATOR_ERODE) 50 , m__operator(FEMORPHOLOGY_OPERATOR_ERODE)
51 { 51 {
52 ASSERT(hasTagName(SVGNames::feMorphologyTag)); 52 ASSERT(hasTagName(SVGNames::feMorphologyTag));
53 ScriptWrappable::init(this);
53 registerAnimatedPropertiesForSVGFEMorphologyElement(); 54 registerAnimatedPropertiesForSVGFEMorphologyElement();
54 } 55 }
55 56
56 PassRefPtr<SVGFEMorphologyElement> SVGFEMorphologyElement::create(const Qualifie dName& tagName, Document* document) 57 PassRefPtr<SVGFEMorphologyElement> SVGFEMorphologyElement::create(const Qualifie dName& tagName, Document* document)
57 { 58 {
58 return adoptRef(new SVGFEMorphologyElement(tagName, document)); 59 return adoptRef(new SVGFEMorphologyElement(tagName, document));
59 } 60 }
60 61
61 const AtomicString& SVGFEMorphologyElement::radiusXIdentifier() 62 const AtomicString& SVGFEMorphologyElement::radiusXIdentifier()
62 { 63 {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 return 0; 171 return 0;
171 172
172 RefPtr<FilterEffect> effect = FEMorphology::create(filter, _operator(), xRad ius, yRadius); 173 RefPtr<FilterEffect> effect = FEMorphology::create(filter, _operator(), xRad ius, yRadius);
173 effect->inputEffects().append(input1); 174 effect->inputEffects().append(input1);
174 return effect.release(); 175 return effect.release();
175 } 176 }
176 177
177 } // namespace WebCore 178 } // namespace WebCore
178 179
179 #endif // ENABLE(SVG) 180 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGFEMergeNodeElement.cpp ('k') | Source/WebCore/svg/SVGFEOffsetElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698