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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleRule.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/css/CSSStyleRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
index a797a7c2ca632cad262aa7bbd6aca41c37bd7c8e..72d7a4682549c13ccafd8a303bd351ca0eba7eff 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
@@ -35,6 +35,7 @@ using SelectorTextCache =
PersistentHeapHashMap<WeakMember<const CSSStyleRule>, String>;
static SelectorTextCache& selectorTextCache() {
+ ALLOW_UNSAFE_SINGLETON()
DEFINE_STATIC_LOCAL(SelectorTextCache, cache, ());
return cache;
}

Powered by Google App Engine
This is Rietveld 408576698