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

Side by Side Diff: Source/WebCore/svg/SVGFEDisplacementMapElement.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) 2006 Oliver Hunt <oliver@nerget.com> 2 * Copyright (C) 2006 Oliver Hunt <oliver@nerget.com>
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 REGISTER_LOCAL_ANIMATED_PROPERTY(scale) 45 REGISTER_LOCAL_ANIMATED_PROPERTY(scale)
46 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes) 46 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes)
47 END_REGISTER_ANIMATED_PROPERTIES 47 END_REGISTER_ANIMATED_PROPERTIES
48 48
49 inline SVGFEDisplacementMapElement::SVGFEDisplacementMapElement(const QualifiedN ame& tagName, Document* document) 49 inline SVGFEDisplacementMapElement::SVGFEDisplacementMapElement(const QualifiedN ame& tagName, Document* document)
50 : SVGFilterPrimitiveStandardAttributes(tagName, document) 50 : SVGFilterPrimitiveStandardAttributes(tagName, document)
51 , m_xChannelSelector(CHANNEL_A) 51 , m_xChannelSelector(CHANNEL_A)
52 , m_yChannelSelector(CHANNEL_A) 52 , m_yChannelSelector(CHANNEL_A)
53 { 53 {
54 ASSERT(hasTagName(SVGNames::feDisplacementMapTag)); 54 ASSERT(hasTagName(SVGNames::feDisplacementMapTag));
55 ScriptWrappable::init(this);
55 registerAnimatedPropertiesForSVGFEDisplacementMapElement(); 56 registerAnimatedPropertiesForSVGFEDisplacementMapElement();
56 } 57 }
57 58
58 PassRefPtr<SVGFEDisplacementMapElement> SVGFEDisplacementMapElement::create(cons t QualifiedName& tagName, Document* document) 59 PassRefPtr<SVGFEDisplacementMapElement> SVGFEDisplacementMapElement::create(cons t QualifiedName& tagName, Document* document)
59 { 60 {
60 return adoptRef(new SVGFEDisplacementMapElement(tagName, document)); 61 return adoptRef(new SVGFEDisplacementMapElement(tagName, document));
61 } 62 }
62 63
63 bool SVGFEDisplacementMapElement::isSupportedAttribute(const QualifiedName& attr Name) 64 bool SVGFEDisplacementMapElement::isSupportedAttribute(const QualifiedName& attr Name)
64 { 65 {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 FilterEffectVector& inputEffects = effect->inputEffects(); 161 FilterEffectVector& inputEffects = effect->inputEffects();
161 inputEffects.reserveCapacity(2); 162 inputEffects.reserveCapacity(2);
162 inputEffects.append(input1); 163 inputEffects.append(input1);
163 inputEffects.append(input2); 164 inputEffects.append(input2);
164 return effect.release(); 165 return effect.release();
165 } 166 }
166 167
167 } 168 }
168 169
169 #endif // ENABLE(SVG) 170 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGFEDiffuseLightingElement.cpp ('k') | Source/WebCore/svg/SVGFEDistantLightElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698