| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index da9b660fe040cfcefff918acd9093e59c4e0e16d..f2544b3facf3ee697a4cad02e1f28252efe13465 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -128,8 +128,8 @@ void Node::operator delete(void* ptr)
|
| using WeakNodeSet = HeapHashSet<WeakMember<Node>>;
|
| static WeakNodeSet& liveNodeSet()
|
| {
|
| - DEFINE_STATIC_LOCAL(Persistent<WeakNodeSet>, set, (new WeakNodeSet()));
|
| - return *set;
|
| + DEFINE_STATIC_LOCAL(WeakNodeSet, set, (new WeakNodeSet));
|
| + return set;
|
| }
|
| #endif
|
|
|
| @@ -1886,8 +1886,8 @@ void Node::removeAllEventListenersRecursively()
|
| using EventTargetDataMap = HeapHashMap<WeakMember<Node>, Member<EventTargetData>>;
|
| static EventTargetDataMap& eventTargetDataMap()
|
| {
|
| - DEFINE_STATIC_LOCAL(Persistent<EventTargetDataMap>, map, (new EventTargetDataMap()));
|
| - return *map;
|
| + DEFINE_STATIC_LOCAL(EventTargetDataMap, map, (new EventTargetDataMap));
|
| + return map;
|
| }
|
|
|
| EventTargetData* Node::eventTargetData()
|
|
|