Index: ui/ozone/platform/drm/common/drm_util.cc |
diff --git a/ui/ozone/platform/drm/common/drm_util.cc b/ui/ozone/platform/drm/common/drm_util.cc |
index 59944118ae6d2b7ae45c4049fda153ca3a770bea..7d35a2a6c252fc4925ce6c3e6e0850518d80b138 100644 |
--- a/ui/ozone/platform/drm/common/drm_util.cc |
+++ b/ui/ozone/platform/drm/common/drm_util.cc |
@@ -13,7 +13,7 @@ |
#include <algorithm> |
#include <utility> |
-#include "base/containers/small_map.h" |
+#include "base/containers/flat_map.h" |
#include "base/memory/ptr_util.h" |
#include "ui/display/util/edid_parser.h" |
@@ -236,8 +236,7 @@ GetAvailableDisplayControllerInfos(int fd) { |
available_connectors.push_back(std::move(connector)); |
} |
- base::SmallMap<std::map<ScopedDrmConnectorPtr::element_type*, int>> |
- connector_crtcs; |
+ base::flat_map<ScopedDrmConnectorPtr::element_type*, int> connector_crtcs; |
for (auto& c : available_connectors) { |
uint32_t possible_crtcs = 0; |
for (int i = 0; i < c->count_encoders; ++i) { |