~ubuntu-branches/ubuntu/lucid/webkit/lucid-updates

« back to all changes in this revision

Viewing changes to WebCore/svg/SVGFEGaussianBlurElement.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2010-02-04 19:30:57 UTC
  • mfrom: (1.2.8 upstream) (4.3.9 sid)
  • Revision ID: james.westby@ubuntu.com-20100204193057-d3018lm1fipb0703
* New upstream release
* debian/copyright:
- Updated with changes since 1.1.19.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
SVGFEGaussianBlurElement::SVGFEGaussianBlurElement(const QualifiedName& tagName, Document* doc)
37
37
    : SVGFilterPrimitiveStandardAttributes(tagName, doc)
38
 
    , m_in1(this, SVGNames::inAttr)
39
 
    , m_stdDeviationX(this, SVGNames::stdDeviationAttr)
40
 
    , m_stdDeviationY(this, SVGNames::stdDeviationAttr)
41
38
{
42
39
}
43
40
 
65
62
        SVGFilterPrimitiveStandardAttributes::parseMappedAttribute(attr);
66
63
}
67
64
 
 
65
void SVGFEGaussianBlurElement::synchronizeProperty(const QualifiedName& attrName)
 
66
{
 
67
    SVGFilterPrimitiveStandardAttributes::synchronizeProperty(attrName);
 
68
 
 
69
    if (attrName == anyQName()) {
 
70
        synchronizeStdDeviationX();
 
71
        synchronizeStdDeviationY();
 
72
        synchronizeIn1();
 
73
        return;
 
74
    }
 
75
 
 
76
    if (attrName == SVGNames::stdDeviationAttr) {
 
77
        synchronizeStdDeviationX();
 
78
        synchronizeStdDeviationY();
 
79
    } else if (attrName == SVGNames::inAttr)
 
80
        synchronizeIn1();
 
81
}
 
82
 
68
83
bool SVGFEGaussianBlurElement::build(SVGResourceFilter* filterResource)
69
84
{
70
85
    FilterEffect* input1 = filterResource->builder()->getEffectById(in1());