Index: third_party/WebKit/Source/core/svg/SVGElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
index 40e8a0eb9bc8f7d2d2fbd8aa43982d6970eaf548..db7deb5102ef36d7e272456a28fad8f9bf11b839 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
@@ -538,8 +538,8 @@ void SVGElement::removeInstanceMapping(SVGElement* instance) |
static HeapHashSet<WeakMember<SVGElement>>& emptyInstances() |
{ |
- DEFINE_STATIC_LOCAL(Persistent<HeapHashSet<WeakMember<SVGElement>>>, emptyInstances, (new HeapHashSet<WeakMember<SVGElement>>())); |
- return *emptyInstances; |
+ DEFINE_STATIC_LOCAL(HeapHashSet<WeakMember<SVGElement>>, emptyInstances, (new HeapHashSet<WeakMember<SVGElement>>)); |
+ return emptyInstances; |
} |
const HeapHashSet<WeakMember<SVGElement>>& SVGElement::instancesForElement() const |