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

Side by Side Diff: Source/WebCore/svg/SVGFEBlendElement.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 30 matching lines...) Expand all
41 REGISTER_LOCAL_ANIMATED_PROPERTY(in2) 41 REGISTER_LOCAL_ANIMATED_PROPERTY(in2)
42 REGISTER_LOCAL_ANIMATED_PROPERTY(mode) 42 REGISTER_LOCAL_ANIMATED_PROPERTY(mode)
43 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes) 43 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes)
44 END_REGISTER_ANIMATED_PROPERTIES 44 END_REGISTER_ANIMATED_PROPERTIES
45 45
46 inline SVGFEBlendElement::SVGFEBlendElement(const QualifiedName& tagName, Docume nt* document) 46 inline SVGFEBlendElement::SVGFEBlendElement(const QualifiedName& tagName, Docume nt* document)
47 : SVGFilterPrimitiveStandardAttributes(tagName, document) 47 : SVGFilterPrimitiveStandardAttributes(tagName, document)
48 , m_mode(FEBLEND_MODE_NORMAL) 48 , m_mode(FEBLEND_MODE_NORMAL)
49 { 49 {
50 ASSERT(hasTagName(SVGNames::feBlendTag)); 50 ASSERT(hasTagName(SVGNames::feBlendTag));
51 ScriptWrappable::init(this);
51 registerAnimatedPropertiesForSVGFEBlendElement(); 52 registerAnimatedPropertiesForSVGFEBlendElement();
52 } 53 }
53 54
54 PassRefPtr<SVGFEBlendElement> SVGFEBlendElement::create(const QualifiedName& tag Name, Document* document) 55 PassRefPtr<SVGFEBlendElement> SVGFEBlendElement::create(const QualifiedName& tag Name, Document* document)
55 { 56 {
56 return adoptRef(new SVGFEBlendElement(tagName, document)); 57 return adoptRef(new SVGFEBlendElement(tagName, document));
57 } 58 }
58 59
59 bool SVGFEBlendElement::isSupportedAttribute(const QualifiedName& attrName) 60 bool SVGFEBlendElement::isSupportedAttribute(const QualifiedName& attrName)
60 { 61 {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 FilterEffectVector& inputEffects = effect->inputEffects(); 139 FilterEffectVector& inputEffects = effect->inputEffects();
139 inputEffects.reserveCapacity(2); 140 inputEffects.reserveCapacity(2);
140 inputEffects.append(input1); 141 inputEffects.append(input1);
141 inputEffects.append(input2); 142 inputEffects.append(input2);
142 return effect.release(); 143 return effect.release();
143 } 144 }
144 145
145 } 146 }
146 147
147 #endif // ENABLE(SVG) 148 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGEllipseElement.cpp ('k') | Source/WebCore/svg/SVGFEColorMatrixElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698