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

Unified Diff: ui/display/chromeos/x11/native_display_delegate_x11.h

Issue 2348953002: Remove stl_util's STLDeleteContainerPairSecondPointers from ui/. (Closed)
Patch Set: fix Created 4 years, 3 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
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
« no previous file with comments | « no previous file | ui/display/chromeos/x11/native_display_delegate_x11.cc » ('j') | ui/views/focus/view_storage.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698