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

Unified Diff: chrome/browser/translate/translate_manager.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
« no previous file with comments | « chrome/browser/tabs/pinned_tab_service_factory.cc ('k') | chrome/browser/ui/cocoa/view_id_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/translate/translate_manager.cc
diff --git a/chrome/browser/translate/translate_manager.cc b/chrome/browser/translate/translate_manager.cc
index ac21d38036d073b36dc8b7d156b51e3a06843263..ad4cbc4fe77dc3e8152a7c48cd3168c17a2148a9 100644
--- a/chrome/browser/translate/translate_manager.cc
+++ b/chrome/browser/translate/translate_manager.cc
@@ -141,7 +141,7 @@ const char* const TranslateManager::kTargetLanguagesKey = "tl";
// static
base::LazyInstance<std::set<std::string> >
- TranslateManager::supported_languages_(base::LINKER_INITIALIZED);
+ TranslateManager::supported_languages_ = LAZY_INSTANCE_INITIALIZER;
TranslateManager::~TranslateManager() {
weak_method_factory_.InvalidateWeakPtrs();
« no previous file with comments | « chrome/browser/tabs/pinned_tab_service_factory.cc ('k') | chrome/browser/ui/cocoa/view_id_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698