Index: ui/display/chromeos/x11/native_display_delegate_x11.h |
diff --git a/ui/display/chromeos/x11/native_display_delegate_x11.h b/ui/display/chromeos/x11/native_display_delegate_x11.h |
index 403a585cd87bca24aecc4cf5e5e7c61841b79776..ccff0a51ecd903754ac6c6a5e4d1dc566c5dfcb2 100644 |
--- a/ui/display/chromeos/x11/native_display_delegate_x11.h |
+++ b/ui/display/chromeos/x11/native_display_delegate_x11.h |
@@ -152,7 +152,7 @@ class DISPLAY_EXPORT NativeDisplayDelegateX11 : public NativeDisplayDelegate { |
gfx::XObjectDeleter<XRRScreenResources, void, XRRFreeScreenResources>> |
screen_; |
- std::map<RRMode, DisplayModeX11*> modes_; |
+ std::map<RRMode, std::unique_ptr<DisplayModeX11>> modes_; |
// Every time GetOutputs() is called we cache the updated list of outputs in |
// |cached_outputs_| so that we can check for duplicate events rather than |