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

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: fix CrOS 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..1e7e85f5ce879523646d7d07ef1d0cbbbba8aa73 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 = LINKER_ZERO_INITIALIZED;
// static
NotificationServiceImpl* NotificationServiceImpl::current() {

Powered by Google App Engine
This is Rietveld 408576698