Index: third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp |
index 139d74d2dc7b4147873a1539a8b76156b49edba9..ee170aece435f593f1473a7da206841488977660 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp |
@@ -40,8 +40,8 @@ typedef HeapHashMap<WeakMember<Element>, Member<CustomElementObserver>> ElementO |
static ElementObserverMap& elementObservers() |
{ |
- DEFINE_STATIC_LOCAL(Persistent<ElementObserverMap>, map, (new ElementObserverMap())); |
- return *map; |
+ DEFINE_STATIC_LOCAL(ElementObserverMap, map, (new ElementObserverMap)); |
+ return map; |
} |
void CustomElementObserver::notifyElementWasDestroyed(Element* element) |