Index: ui/events/keycodes/platform_key_map_win.cc |
diff --git a/ui/events/keycodes/platform_key_map_win.cc b/ui/events/keycodes/platform_key_map_win.cc |
index 32b544e31ca8b72463fc8b75052ff91984cc3b5b..529b799979b8667466acf76a3c8099e3e53137a7 100644 |
--- a/ui/events/keycodes/platform_key_map_win.cc |
+++ b/ui/events/keycodes/platform_key_map_win.cc |
@@ -262,7 +262,8 @@ void CleanupKeyMapTls(void* data) { |
} |
struct PlatformKeyMapInstanceTlsTraits |
- : public base::DefaultLazyInstanceTraits<base::ThreadLocalStorage::Slot> { |
+ : public base::internal::DestructorAtExitLazyInstanceTraits< |
+ base::ThreadLocalStorage::Slot> { |
static base::ThreadLocalStorage::Slot* New(void* instance) { |
// Use placement new to initialize our instance in our preallocated space. |
// TODO(chongz): Use std::default_delete instead of providing own function. |