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

Unified Diff: ppapi/proxy/ppb_message_loop_proxy.cc

Issue 9297010: Make it possible to use ThreadLocalStorage::Slot as a static without (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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 | « net/base/dns_reloader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_message_loop_proxy.cc
diff --git a/ppapi/proxy/ppb_message_loop_proxy.cc b/ppapi/proxy/ppb_message_loop_proxy.cc
index 5a0cf23efb99739d9a9e14f10eeb4d05699b68fb..75f9c86f671c51b01894d95a77074f0b4a5369a5 100644
--- a/ppapi/proxy/ppb_message_loop_proxy.cc
+++ b/ppapi/proxy/ppb_message_loop_proxy.cc
@@ -26,7 +26,7 @@ namespace {
typedef thunk::EnterResource<PPB_MessageLoop_API> EnterMessageLoop;
-static base::ThreadLocalStorage::Slot tls_slot(base::LINKER_INITIALIZED);
+static base::ThreadLocalStorage::StaticSlot tls_slot = TLS_INITIALIZER;
class MessageLoopResource : public Resource, public PPB_MessageLoop_API {
public:
« no previous file with comments | « net/base/dns_reloader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698