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

Unified Diff: content/browser/notification_service_impl.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: willchan comments + rebase Created 9 years, 1 month 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: content/browser/notification_service_impl.cc
diff --git a/content/browser/notification_service_impl.cc b/content/browser/notification_service_impl.cc
index 795cb30216e85931df5659da4cbedb7c1a5f8709..c2c4425d7c32dbf0081c96e9a2c116fa637c859a 100644
--- a/content/browser/notification_service_impl.cc
+++ b/content/browser/notification_service_impl.cc
@@ -10,7 +10,7 @@
#include "content/public/browser/notification_types.h"
static base::LazyInstance<base::ThreadLocalPointer<NotificationServiceImpl> >
- lazy_tls_ptr(base::LINKER_INITIALIZED);
+ lazy_tls_ptr = LAZY_INSTANCE_INITIALIZER;
// static
NotificationServiceImpl* NotificationServiceImpl::current() {
« no previous file with comments | « content/browser/net/url_request_slow_download_job.cc ('k') | content/browser/renderer_host/image_transport_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698