| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index eb7c4079d2485bb46480aadf9455bdd30b5178cb..fbdf3a03303721868a80cdcf5d466add00bb6187 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -177,11 +177,13 @@ static void updateSuddenTerminationStatus(
|
| using DOMWindowSet = PersistentHeapHashCountedSet<WeakMember<LocalDOMWindow>>;
|
|
|
| static DOMWindowSet& windowsWithUnloadEventListeners() {
|
| + ALLOW_UNSAFE_SINGLETON()
|
| DEFINE_STATIC_LOCAL(DOMWindowSet, windowsWithUnloadEventListeners, ());
|
| return windowsWithUnloadEventListeners;
|
| }
|
|
|
| static DOMWindowSet& windowsWithBeforeUnloadEventListeners() {
|
| + ALLOW_UNSAFE_SINGLETON()
|
| DEFINE_STATIC_LOCAL(DOMWindowSet, windowsWithBeforeUnloadEventListeners, ());
|
| return windowsWithBeforeUnloadEventListeners;
|
| }
|
|
|