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

Unified Diff: chrome/browser/sync/util/sqlite_utils.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/sync/util/sqlite_utils.cc
diff --git a/chrome/browser/sync/util/sqlite_utils.cc b/chrome/browser/sync/util/sqlite_utils.cc
index 725fd8d9d9befd323149912b7cc5986d11bc7f89..4cb6c4ec22f96859833cf44bf7d074ce23826903 100644
--- a/chrome/browser/sync/util/sqlite_utils.cc
+++ b/chrome/browser/sync/util/sqlite_utils.cc
@@ -80,7 +80,7 @@ class DefaultSQLErrorHandlerFactory : public SQLErrorHandlerFactory {
};
static base::LazyInstance<DefaultSQLErrorHandlerFactory>
- g_default_sql_error_handler_factory(base::LINKER_INITIALIZED);
+ g_default_sql_error_handler_factory = LAZY_INSTANCE_INITIALIZER;
SQLErrorHandlerFactory* GetErrorHandlerFactory() {
// TODO(cpu): Testing needs to override the error handler.
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_profile.cc ('k') | chrome/browser/tabs/pinned_tab_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698