Require explicit selection of traits for LazyInstance

https://codereview.chromium.org/2733283002
This commit is contained in:
Aleksei Kuzmin 2017-06-20 22:14:39 +03:00
parent e16e1e2854
commit e2fe95894f
4 changed files with 7 additions and 7 deletions

View file

@ -97,8 +97,8 @@ enum FlashNavigateUsage {
FLASH_NAVIGATE_USAGE_ENUM_COUNT
};
static base::LazyInstance<std::map<std::string, FlashNavigateUsage> >
g_rejected_headers = LAZY_INSTANCE_INITIALIZER;
static base::LazyInstance<std::map<std::string, FlashNavigateUsage> >::
DestructorAtExit g_rejected_headers = LAZY_INSTANCE_INITIALIZER;
bool IsSimpleHeader(const std::string& lower_case_header_name,
const std::string& header_value) {