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

Side by Side Diff: Source/WebCore/svg/SVGFECompositeElement.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, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 REGISTER_LOCAL_ANIMATED_PROPERTY(k3) 49 REGISTER_LOCAL_ANIMATED_PROPERTY(k3)
50 REGISTER_LOCAL_ANIMATED_PROPERTY(k4) 50 REGISTER_LOCAL_ANIMATED_PROPERTY(k4)
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 SVGFECompositeElement::SVGFECompositeElement(const QualifiedName& tagName , Document* document) 54 inline SVGFECompositeElement::SVGFECompositeElement(const QualifiedName& tagName , Document* document)
55 : SVGFilterPrimitiveStandardAttributes(tagName, document) 55 : SVGFilterPrimitiveStandardAttributes(tagName, document)
56 , m__operator(FECOMPOSITE_OPERATOR_OVER) 56 , m__operator(FECOMPOSITE_OPERATOR_OVER)
57 { 57 {
58 ASSERT(hasTagName(SVGNames::feCompositeTag)); 58 ASSERT(hasTagName(SVGNames::feCompositeTag));
59 ScriptWrappable::init(this);
59 registerAnimatedPropertiesForSVGFECompositeElement(); 60 registerAnimatedPropertiesForSVGFECompositeElement();
60 } 61 }
61 62
62 PassRefPtr<SVGFECompositeElement> SVGFECompositeElement::create(const QualifiedN ame& tagName, Document* document) 63 PassRefPtr<SVGFECompositeElement> SVGFECompositeElement::create(const QualifiedN ame& tagName, Document* document)
63 { 64 {
64 return adoptRef(new SVGFECompositeElement(tagName, document)); 65 return adoptRef(new SVGFECompositeElement(tagName, document));
65 } 66 }
66 67
67 bool SVGFECompositeElement::isSupportedAttribute(const QualifiedName& attrName) 68 bool SVGFECompositeElement::isSupportedAttribute(const QualifiedName& attrName)
68 { 69 {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 FilterEffectVector& inputEffects = effect->inputEffects(); 184 FilterEffectVector& inputEffects = effect->inputEffects();
184 inputEffects.reserveCapacity(2); 185 inputEffects.reserveCapacity(2);
185 inputEffects.append(input1); 186 inputEffects.append(input1);
186 inputEffects.append(input2); 187 inputEffects.append(input2);
187 return effect.release(); 188 return effect.release();
188 } 189 }
189 190
190 } 191 }
191 192
192 #endif // ENABLE(SVG) 193 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGFEComponentTransferElement.cpp ('k') | Source/WebCore/svg/SVGFEConvolveMatrixElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698