Changeset 109391 in webkit
- Timestamp:
- Mar 1, 2012, 12:29:47 PM (15 years ago)
- Location:
- branches/chromium/1025
- Files:
-
- 1 edited
- 3 copied
-
LayoutTests/svg/animations/resources/smil-element-target-crash.svg (copied) (copied from trunk/LayoutTests/svg/animations/resources/smil-element-target-crash.svg )
-
LayoutTests/svg/animations/smil-element-target-crash-main-expected.txt (copied) (copied from trunk/LayoutTests/svg/animations/smil-element-target-crash-main-expected.txt )
-
LayoutTests/svg/animations/smil-element-target-crash-main.html (copied) (copied from trunk/LayoutTests/svg/animations/smil-element-target-crash-main.html )
-
Source/WebCore/svg/animation/SVGSMILElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/chromium/1025/Source/WebCore/svg/animation/SVGSMILElement.cpp
r109361 r109391 216 216 m_timeContainer = 0; 217 217 } 218 if (m_targetElement) {219 document()->accessSVGExtensions()->removeAnimationElementFromTarget(this, m_targetElement);220 m_targetElement = 0;221 }222 218 // Calling disconnectConditions() may kill us if there are syncbase conditions. 223 219 // OK, but we don't want to die inside the call. 224 220 RefPtr<SVGSMILElement> keepAlive(this); 225 221 disconnectConditions(); 222 223 // Clear target now, because disconnectConditions calls targetElement() which will recreate the target if we removed it sooner. 224 if (m_targetElement) { 225 document()->accessSVGExtensions()->removeAnimationElementFromTarget(this, m_targetElement); 226 m_targetElement = 0; 227 } 228 226 229 SVGElement::removedFromDocument(); 227 230 }
Note:
See TracChangeset
for help on using the changeset viewer.