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

Unified Diff: content/worker/worker_thread.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/worker/worker_thread.cc
diff --git a/content/worker/worker_thread.cc b/content/worker/worker_thread.cc
index 3d05e4932004ea63aabaa3dd0840054824cfa4f2..12b7f1c8de0c4431cd527b5c140df3ac3dd4112d 100644
--- a/content/worker/worker_thread.cc
+++ b/content/worker/worker_thread.cc
@@ -23,8 +23,8 @@
using WebKit::WebRuntimeFeatures;
-static base::LazyInstance<base::ThreadLocalPointer<WorkerThread> > lazy_tls(
- base::LINKER_INITIALIZED);
+static base::LazyInstance<base::ThreadLocalPointer<WorkerThread> > lazy_tls =
+ LINKER_ZERO_INITIALIZED;
WorkerThread::WorkerThread() {

Powered by Google App Engine
This is Rietveld 408576698