$NetBSD: patch-cl,v 1.1 2011/04/14 18:11:45 drochner Exp $ --- WebCore/svg/SVGElementInstance.cpp.orig 2010-09-10 13:20:33.000000000 +0000 +++ WebCore/svg/SVGElementInstance.cpp @@ -103,7 +103,8 @@ void SVGElementInstance::invalidateAllIn const HashSet::const_iterator end = set.end(); for (HashSet::const_iterator it = set.begin(); it != end; ++it) { ASSERT((*it)->correspondingElement() == element); - (*it)->correspondingUseElement()->invalidateShadowTree(); + if (SVGUseElement* element = (*it)->correspondingUseElement()) + element->invalidateShadowTree(); } }