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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.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/loader/EmptyClients.cpp
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.cpp b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
index b3bd6352f92845bef4ef3f138eafb83e0f2fe933..5253fdeb4369076454c00b72d353807e1244ef09 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.cpp
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
@@ -47,6 +47,7 @@
namespace blink {
void fillWithEmptyClients(Page::PageClients& pageClients) {
+ ALLOW_UNSAFE_SINGLETON()
DEFINE_STATIC_LOCAL(ChromeClient, dummyChromeClient,
(EmptyChromeClient::create()));
pageClients.chromeClient = &dummyChromeClient;

Powered by Google App Engine
This is Rietveld 408576698