| 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 2f785864e965acf7fd723150ad610ae6007fe8cb..c3a4a031d2026c318fd7adfd80a415d6196e6683 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -140,6 +140,7 @@ static_assert(sizeof(Node) <= sizeof(SameSizeAsNode), "Node should stay small");
|
| #if DUMP_NODE_STATISTICS
|
| using WeakNodeSet = HeapHashSet<WeakMember<Node>>;
|
| static WeakNodeSet& liveNodeSet() {
|
| + ALLOW_UNSAFE_SINGLETON()
|
| DEFINE_STATIC_LOCAL(WeakNodeSet, set, (new WeakNodeSet));
|
| return set;
|
| }
|
| @@ -1906,6 +1907,7 @@ void Node::removeAllEventListenersRecursively() {
|
| using EventTargetDataMap =
|
| PersistentHeapHashMap<WeakMember<Node>, Member<EventTargetData>>;
|
| static EventTargetDataMap& eventTargetDataMap() {
|
| + ALLOW_UNSAFE_SINGLETON()
|
| DEFINE_STATIC_LOCAL(EventTargetDataMap, map, ());
|
| return map;
|
| }
|
|
|