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

Unified Diff: chrome/browser/speech/speech_input_bubble.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/speech/speech_input_bubble.cc
diff --git a/chrome/browser/speech/speech_input_bubble.cc b/chrome/browser/speech/speech_input_bubble.cc
index 668915a2b3576d4ed789cf84f978093642f0cd4c..edf44142551c7b1cdb72fdb0154d342984e79804 100644
--- a/chrome/browser/speech/speech_input_bubble.cc
+++ b/chrome/browser/speech/speech_input_bubble.cc
@@ -98,7 +98,8 @@ SpeechInputBubbleImages::SpeechInputBubbleImages() {
}
}
-base::LazyInstance<SpeechInputBubbleImages> g_images(base::LINKER_INITIALIZED);
+base::LazyInstance<SpeechInputBubbleImages> g_images =
+ LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/browser/speech/speech_input_extension_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698