Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementObserver.cpp

Issue 2694283003: Annotate ScriptWrappable-embedding singletons.
Patch Set: add XPathValue singleton Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementObserver.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementObserver.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementObserver.cpp
index b390cc606b3e37021d7f3d4e4ccc447926597a11..935d51cff2fb9bb3af45033af891797698a85ef3 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementObserver.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementObserver.cpp
@@ -40,6 +40,7 @@ typedef HeapHashMap<WeakMember<Element>, Member<V0CustomElementObserver>>
ElementObserverMap;
static ElementObserverMap& elementObservers() {
+ ALLOW_UNSAFE_SINGLETON()
DEFINE_STATIC_LOCAL(ElementObserverMap, map, (new ElementObserverMap));
return map;
}

Powered by Google App Engine
This is Rietveld 408576698