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

Unified Diff: chrome/browser/spellchecker/spellcheck_profile.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: chrome/browser/spellchecker/spellcheck_profile.cc
diff --git a/chrome/browser/spellchecker/spellcheck_profile.cc b/chrome/browser/spellchecker/spellcheck_profile.cc
index ecb6cb9e5b11daf8bc6b4dae948efa8294e57850..ddd0605f5fc0e7351e1f4b7e87714c37849e5b3c 100644
--- a/chrome/browser/spellchecker/spellcheck_profile.cc
+++ b/chrome/browser/spellchecker/spellcheck_profile.cc
@@ -18,8 +18,8 @@
using content::BrowserThread;
namespace {
-base::LazyInstance<SpellCheckProfile::CustomWordList> g_empty_list(
- base::LINKER_INITIALIZED);
+base::LazyInstance<SpellCheckProfile::CustomWordList> g_empty_list =
+ LINKER_ZERO_INITIALIZED;
} // namespace
SpellCheckProfile::SpellCheckProfile(const FilePath& profile_dir)

Powered by Google App Engine
This is Rietveld 408576698