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

Unified Diff: content/browser/in_process_webkit/indexed_db_key_utility_client.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: content/browser/in_process_webkit/indexed_db_key_utility_client.cc
diff --git a/content/browser/in_process_webkit/indexed_db_key_utility_client.cc b/content/browser/in_process_webkit/indexed_db_key_utility_client.cc
index 7a50f3a78be94c248274d7798705c95e96e5c2b2..6317cdcd5835cca001d239eb270fa16622ff3c27 100644
--- a/content/browser/in_process_webkit/indexed_db_key_utility_client.cc
+++ b/content/browser/in_process_webkit/indexed_db_key_utility_client.cc
@@ -108,8 +108,8 @@ class KeyUtilityClientImpl
// IndexedDBKeyUtilityClient definitions.
-static base::LazyInstance<IndexedDBKeyUtilityClient> client_instance(
- base::LINKER_INITIALIZED);
+static base::LazyInstance<IndexedDBKeyUtilityClient> client_instance =
+ LINKER_ZERO_INITIALIZED;
IndexedDBKeyUtilityClient::IndexedDBKeyUtilityClient()
: is_shutdown_(false) {

Powered by Google App Engine
This is Rietveld 408576698