diff options
Diffstat (limited to 'base/path_service.cc')
-rw-r--r-- | base/path_service.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/base/path_service.cc b/base/path_service.cc index 56ce5fa..4381998 100644 --- a/base/path_service.cc +++ b/base/path_service.cc @@ -13,9 +13,9 @@ #include "base/file_path.h" #include "base/file_util.h" #include "base/hash_tables.h" -#include "base/lazy_instance.h" #include "base/lock.h" #include "base/logging.h" +#include "base/singleton.h" namespace base { bool PathProvider(int key, FilePath* result); @@ -118,10 +118,8 @@ struct PathData { } }; -static base::LazyInstance<PathData> g_path_data(base::LINKER_INITIALIZED); - static PathData* GetPathData() { - return g_path_data.Pointer(); + return Singleton<PathData>::get(); } } // namespace |