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

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: 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: chrome/browser/spellchecker/spellcheck_profile.cc
diff --git a/chrome/browser/spellchecker/spellcheck_profile.cc b/chrome/browser/spellchecker/spellcheck_profile.cc
index ecb6cb9e5b11daf8bc6b4dae948efa8294e57850..9af9a1e174dc8e1086f1fef23959e7d3e4823070 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 =
+ LAZY_INSTANCE_INITIALIZER;
} // namespace
SpellCheckProfile::SpellCheckProfile(const FilePath& profile_dir)
« no previous file with comments | « chrome/browser/speech/speech_input_extension_notification.cc ('k') | chrome/browser/sync/util/sqlite_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698