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

Unified Diff: ui/ozone/platform/drm/gpu/hardware_display_controller.h

Issue 2603863002: Remove base::ScopedPtrHashMap from ozone. (Closed)
Patch Set: fixes Created 4 years 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
Index: ui/ozone/platform/drm/gpu/hardware_display_controller.h
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_controller.h b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
index 3738cf27d4459d4026e10f755c1b3ccc31d4cf6a..bfb34739865588a6782ba0edcb081cebcd4eecbe 100644
--- a/ui/ozone/platform/drm/gpu/hardware_display_controller.h
+++ b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
@@ -12,10 +12,10 @@
#include <deque>
#include <map>
#include <memory>
+#include <unordered_map>
#include <vector>
#include "base/callback.h"
-#include "base/containers/scoped_ptr_hash_map.h"
#include "base/macros.h"
#include "base/memory/scoped_vector.h"
#include "ui/gfx/swap_result.h"
@@ -160,7 +160,7 @@ class HardwareDisplayController {
bool test_only,
const PageFlipCallback& callback);
- base::ScopedPtrHashMap<DrmDevice*, std::unique_ptr<HardwareDisplayPlaneList>>
+ std::unordered_map<DrmDevice*, std::unique_ptr<HardwareDisplayPlaneList>>
owned_hardware_planes_;
// Stores the CRTC configuration. This is used to identify monitors and

Powered by Google App Engine
This is Rietveld 408576698