Index: chrome/browser/download/download_prefs.cc |
diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download/download_prefs.cc |
index d7fe28e77f509bba5cfc661eb1d8c7b26d660056..57e2ca7c3d54b6fade50a6ffe713425d55c334f6 100644 |
--- a/chrome/browser/download/download_prefs.cc |
+++ b/chrome/browser/download/download_prefs.cc |
@@ -81,7 +81,7 @@ class DefaultDownloadDirectory { |
const base::FilePath& path() const { return path_; } |
private: |
- friend struct base::DefaultLazyInstanceTraits<DefaultDownloadDirectory>; |
+ friend struct base::LazyInstanceTraitsBase<DefaultDownloadDirectory>; |
DefaultDownloadDirectory() { |
if (!PathService::Get(chrome::DIR_DEFAULT_DOWNLOADS, &path_)) { |
@@ -101,7 +101,7 @@ class DefaultDownloadDirectory { |
DISALLOW_COPY_AND_ASSIGN(DefaultDownloadDirectory); |
}; |
-base::LazyInstance<DefaultDownloadDirectory> |
+base::LazyInstance<DefaultDownloadDirectory>::DestructorAtExit |
g_default_download_directory = LAZY_INSTANCE_INITIALIZER; |
} // namespace |