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

Unified Diff: third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.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
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathValue.cpp ('k') | third_party/WebKit/Source/wtf/Allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp
diff --git a/third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp b/third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp
index a7683f68bda609d97ddbebd18d684f9fe1172053..aa8dfa19f2feebf9056868fb76cd85055b9f93a2 100644
--- a/third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp
+++ b/third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp
@@ -37,6 +37,7 @@ namespace blink {
MediaSourceRegistry& MediaSourceRegistry::registry() {
DCHECK(isMainThread());
+ ALLOW_UNSAFE_SINGLETON()
DEFINE_STATIC_LOCAL(MediaSourceRegistry, instance, ());
return instance;
}
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathValue.cpp ('k') | third_party/WebKit/Source/wtf/Allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698