Index: chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc |
diff --git a/chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc b/chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc |
index 2dc8a519912df82e36fba239822a13886539de37..6e3634bd1afa92c40eeea168832cc765997d9e8b 100644 |
--- a/chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc |
+++ b/chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc |
@@ -37,7 +37,7 @@ class SupportedAudioVideoExtensions { |
base::FilePath::kExtensionSeparator + extensions[i]); |
} |
} |
- }; |
+ } |
bool HasSupportedAudioVideoExtension(const base::FilePath& file) { |
return base::ContainsKey(audio_video_extensions_, file.Extension()); |
@@ -49,8 +49,8 @@ class SupportedAudioVideoExtensions { |
DISALLOW_COPY_AND_ASSIGN(SupportedAudioVideoExtensions); |
}; |
-base::LazyInstance<SupportedAudioVideoExtensions> g_audio_video_extensions = |
- LAZY_INSTANCE_INITIALIZER; |
+base::LazyInstance<SupportedAudioVideoExtensions>::DestructorAtExit |
+ g_audio_video_extensions = LAZY_INSTANCE_INITIALIZER; |
base::File OpenOnFileThread(const base::FilePath& path) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::FILE); |