| Index: chrome/browser/chromeos/cros_settings.cc
|
| diff --git a/chrome/browser/chromeos/cros_settings.cc b/chrome/browser/chromeos/cros_settings.cc
|
| index 0c86226afc87caeb00f572e1fc501c1883675e4f..d5cbe6b7191499f855b1090e8a60b0688f58a5ee 100644
|
| --- a/chrome/browser/chromeos/cros_settings.cc
|
| +++ b/chrome/browser/chromeos/cros_settings.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "chrome/browser/chromeos/cros_settings.h"
|
|
|
| -#include "base/singleton.h"
|
| +#include "base/lazy_instance.h"
|
| #include "base/string_util.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/chromeos/cros_settings_provider.h"
|
| @@ -13,9 +13,12 @@
|
|
|
| namespace chromeos {
|
|
|
| +static base::LazyInstance<CrosSettings> g_cros_settings(
|
| + base::LINKER_INITIALIZED);
|
| +
|
| CrosSettings* CrosSettings::Get() {
|
| // TODO(xiyaun): Use real stuff when underlying libcros is ready.
|
| - return Singleton<CrosSettings>::get();
|
| + return g_cros_settings.Pointer();
|
| }
|
|
|
| bool CrosSettings::IsCrosSettings(const std::string& path) {
|
|
|