Changeset 15968 in webkit
- Timestamp:
- Aug 22, 2006, 11:56:33 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r15963 r15968 1 2006-08-22 Rob Buis <buis@kde.org> 2 3 Reviewed by Eric. 4 5 Testcase for: 6 http://bugzilla.opendarwin.org/show_bug.cgi?id=10402 7 REPRO: SVG crashes inside gradient code 8 9 * svg/custom/gradient-attr-update-expected.checksum: Added. 10 * svg/custom/gradient-attr-update-expected.png: Added. 11 * svg/custom/gradient-attr-update-expected.txt: Added. 12 * svg/custom/gradient-attr-update.svg: Added. 13 1 14 2006-08-22 Rob Buis <buis@kde.org> 2 15 -
trunk/WebCore/ChangeLog
r15967 r15968 1 2006-08-22 Rob Buis <buis@kde.org> 2 3 Reviewed by Eric. 4 5 http://bugzilla.opendarwin.org/show_bug.cgi?id=10402 6 REPRO: SVG crashes inside gradient code 7 8 Make sure we do not try to update the canvas resource/gradient paintserver when it is not yet built. 9 10 * ksvg2/svg/SVGGradientElement.cpp: 11 (SVGGradientElement::notifyAttributeChange): 12 (SVGGradientElement::resourceNotification): 13 1 14 2006-08-22 David Harrison <harrison@apple.com> 2 15 -
trunk/WebCore/ksvg2/svg/SVGGradientElement.cpp
r15828 r15968 104 104 void SVGGradientElement::notifyAttributeChange() const 105 105 { 106 if(ownerDocument()->parsing() || !attached() )106 if(ownerDocument()->parsing() || !attached() || !m_resource) 107 107 return; 108 108 … … 136 136 { 137 137 // We're referenced by a "client", build the gradient now... 138 buildGradient( m_resource);138 buildGradient(const_cast<SVGGradientElement*>(this)->canvasResource()); 139 139 } 140 140
Note:
See TracChangeset
for help on using the changeset viewer.