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

Unified Diff: chrome/browser/safe_browsing/malware_details.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/safe_browsing/malware_details.cc
diff --git a/chrome/browser/safe_browsing/malware_details.cc b/chrome/browser/safe_browsing/malware_details.cc
index 2b4a3050201e16544258dc047ccabeedbeb6f368..9455d90c4e50c35152004c82f4924f3c6b5cbddb 100644
--- a/chrome/browser/safe_browsing/malware_details.cc
+++ b/chrome/browser/safe_browsing/malware_details.cc
@@ -54,7 +54,7 @@ class MalwareDetailsFactoryImpl
};
static base::LazyInstance<MalwareDetailsFactoryImpl>
- g_malware_details_factory_impl(base::LINKER_INITIALIZED);
+ g_malware_details_factory_impl = LAZY_INSTANCE_INITIALIZER;
// Create a MalwareDetails for the given tab.
/* static */

Powered by Google App Engine
This is Rietveld 408576698