commit | 46df67b7903499720c7ab5c2a22b288cb3de803b | [log] [tgz] |
---|---|---|
author | Lei Zhang <[email protected]> | Tue Sep 05 21:54:09 2017 |
committer | Commit Bot <[email protected]> | Tue Sep 05 21:54:09 2017 |
tree | fce1ad12d283446e6cc968105dae6016ea62c4c2 | |
parent | 3bad8e2a6eb2f2815b02b7cda3675b8cb028d413 [diff] [blame] |
Remove base::LinkerInitialized. Nobody is using it, and those that want to are defining their own to avoid needing a constructor. Change-Id: I2cc723fc4f432186bc6cd7130637df9705be8908 Reviewed-on: https://chromium-review.googlesource.com/645007 Reviewed-by: Scott Graham <[email protected]> Reviewed-by: Mark Mentovai <[email protected]> Commit-Queue: Lei Zhang <[email protected]> Cr-Commit-Position: refs/heads/master@{#499758}
diff --git a/base/lazy_instance.h b/base/lazy_instance.h index 99a000ed7..7821ebc 100644 --- a/base/lazy_instance.h +++ b/base/lazy_instance.h
@@ -44,9 +44,7 @@ #include "base/threading/thread_restrictions.h" // LazyInstance uses its own struct initializer-list style static -// initialization, as base's LINKER_INITIALIZED requires a constructor and on -// some compilers (notably gcc 4.4) this still ends up needing runtime -// initialization. +// initialization, which does not require a constructor. #define LAZY_INSTANCE_INITIALIZER {0} namespace base {