⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 118878 in webkit


Ignore:
Timestamp:
May 29, 2012, 6:55:21 PM (14 years ago)
Author:
cevans@google.com
Message:

Merge 117792
BUG=127234
Review URL: https://chromiumcodereview.appspot.com/10443074

Location:
branches/chromium/1132
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/chromium/1132/Source/WebCore/svg/properties/SVGAnimatedPropertyTearOff.h

    r113003 r118878  
    3232    typedef SVGPropertyTearOff<PropertyType> PropertyTearOff;
    3333    typedef PropertyType ContentType;
     34
     35    virtual ~SVGAnimatedPropertyTearOff()
     36    {
     37        if (m_baseVal) {
     38            ASSERT(m_baseVal->animatedProperty() == this);
     39            m_baseVal->setAnimatedProperty(0);
     40        }
     41        if (m_animVal) {
     42            ASSERT(m_animVal->animatedProperty() == this);
     43            m_animVal->setAnimatedProperty(0);
     44        }
     45    }
    3446
    3547    PropertyTearOff* baseVal()
Note: See TracChangeset for help on using the changeset viewer.