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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.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/V0CustomElementProcessingStack.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.cpp
index c43d4ef95a2b57118ce17ed4a13529430ba60e40..00f101e064bd6042229491c034a6271f6e5a27b0 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.cpp
@@ -41,6 +41,7 @@ size_t V0CustomElementProcessingStack::s_elementQueueStart = 0;
size_t V0CustomElementProcessingStack::s_elementQueueEnd = kNumSentinels;
V0CustomElementProcessingStack& V0CustomElementProcessingStack::instance() {
+ ALLOW_UNSAFE_SINGLETON()
DEFINE_STATIC_LOCAL(V0CustomElementProcessingStack, instance,
(new V0CustomElementProcessingStack));
return instance;

Powered by Google App Engine
This is Rietveld 408576698