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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 4294b0b790cc03d931a4bfdf0e935993b5901ee8..7603e57cb7b8240347be91a540906c4f44c65387 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -6582,6 +6582,7 @@ template class CORE_TEMPLATE_EXPORT Supplement<Document>;
#ifndef NDEBUG
static WeakDocumentSet& liveDocumentSet() {
+ ALLOW_UNSAFE_SINGLETON()
DEFINE_STATIC_LOCAL(WeakDocumentSet, set, ());
return set;
}

Powered by Google App Engine
This is Rietveld 408576698