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

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: fix CrOS 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..3fb94e30380922d855310d2c6df5fc3b5c229677 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 = LINKER_ZERO_INITIALIZED;
// Create a MalwareDetails for the given tab.
/* static */

Powered by Google App Engine
This is Rietveld 408576698