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

Unified Diff: chrome/browser/speech/speech_input_extension_notification.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thakis comment, renamed LAZY_INSTANCE_INITIALIZER 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_extension_notification.cc
diff --git a/chrome/browser/speech/speech_input_extension_notification.cc b/chrome/browser/speech/speech_input_extension_notification.cc
index 8dd92a458f970f4112b648dd43ce9aa929dfb45c..6a07a463f0e07861b2521e8296b3d3260593465a 100644
--- a/chrome/browser/speech/speech_input_extension_notification.cc
+++ b/chrome/browser/speech/speech_input_extension_notification.cc
@@ -52,7 +52,7 @@ NotificationTrayImages::NotificationTrayImages() {
IDR_SPEECH_INPUT_TRAY_BALLOON_ICON);
}
-base::LazyInstance<NotificationTrayImages> g_images(base::LINKER_INITIALIZED);
+base::LazyInstance<NotificationTrayImages> g_images = LAZY_INSTANCE_INITIALIZER;
} // namespace

Powered by Google App Engine
This is Rietveld 408576698