summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFESpecularLightingElement.cpp
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2010-09-08 12:18:00 +0100
committerKristian Monsen <kristianm@google.com>2010-09-11 12:08:58 +0100
commit5ddde30071f639962dd557c453f2ad01f8f0fd00 (patch)
tree775803c4ab35af50aa5f5472cd1fb95fe9d5152d /WebCore/svg/SVGFESpecularLightingElement.cpp
parent3e63d9b33b753ca86d0765d1b3d711114ba9e34f (diff)
downloadexternal_webkit-5ddde30071f639962dd557c453f2ad01f8f0fd00.zip
external_webkit-5ddde30071f639962dd557c453f2ad01f8f0fd00.tar.gz
external_webkit-5ddde30071f639962dd557c453f2ad01f8f0fd00.tar.bz2
Merge WebKit at r66666 : Initial merge by git.
Change-Id: I57dedeb49859adc9c539e760f0e749768c66626f
Diffstat (limited to 'WebCore/svg/SVGFESpecularLightingElement.cpp')
-rw-r--r--WebCore/svg/SVGFESpecularLightingElement.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/WebCore/svg/SVGFESpecularLightingElement.cpp b/WebCore/svg/SVGFESpecularLightingElement.cpp
index afbdefe..d07c6ce 100644
--- a/WebCore/svg/SVGFESpecularLightingElement.cpp
+++ b/WebCore/svg/SVGFESpecularLightingElement.cpp
@@ -32,16 +32,17 @@
namespace WebCore {
-SVGFESpecularLightingElement::SVGFESpecularLightingElement(const QualifiedName& tagName, Document* doc)
- : SVGFilterPrimitiveStandardAttributes(tagName, doc)
- , m_specularConstant(1.0f)
- , m_specularExponent(1.0f)
- , m_surfaceScale(1.0f)
+inline SVGFESpecularLightingElement::SVGFESpecularLightingElement(const QualifiedName& tagName, Document* document)
+ : SVGFilterPrimitiveStandardAttributes(tagName, document)
+ , m_specularConstant(1)
+ , m_specularExponent(1)
+ , m_surfaceScale(1)
{
}
-SVGFESpecularLightingElement::~SVGFESpecularLightingElement()
+PassRefPtr<SVGFESpecularLightingElement> SVGFESpecularLightingElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGFESpecularLightingElement(tagName, document));
}
void SVGFESpecularLightingElement::parseMappedAttribute(Attribute* attr)