Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2447)

Unified Diff: ui/ozone/platform/drm/common/drm_util.cc

Issue 2825853002: Improvements to uses of base::SmallMap (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ui/latency/latency_info.h ('K') | « ui/latency/latency_info.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ad8e25ba8fc042348e2f7a33dd923a8324740d78 100644
--- a/ui/ozone/platform/drm/common/drm_util.cc
+++ b/ui/ozone/platform/drm/common/drm_util.cc
@@ -236,7 +236,7 @@ GetAvailableDisplayControllerInfos(int fd) {
available_connectors.push_back(std::move(connector));
}
- base::SmallMap<std::map<ScopedDrmConnectorPtr::element_type*, int>>
+ base::small_map<std::map<ScopedDrmConnectorPtr::element_type*, int>>
danakj 2017/04/18 21:35:50 almost certainly there are few enough monitors tha
brettw 2017/04/19 16:29:48 Hopefully someday I can have so many monitors this
connector_crtcs;
for (auto& c : available_connectors) {
uint32_t possible_crtcs = 0;
« ui/latency/latency_info.h ('K') | « ui/latency/latency_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698