blob: 1347bea888d50d0129fd4b3fb4835bab427b9c43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$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<SVGElementInstance*>::const_iterator end = set.end();
for (HashSet<SVGElementInstance*>::const_iterator it = set.begin(); it != end; ++it) {
ASSERT((*it)->correspondingElement() == element);
- (*it)->correspondingUseElement()->invalidateShadowTree();
+ if (SVGUseElement* element = (*it)->correspondingUseElement())
+ element->invalidateShadowTree();
}
}
|