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 e2952c0543db02ab931c5f0ce60c1f0867ed1cf7..b307450eb4e94188e7b96250952414c3052323a8 100644 |
--- a/ui/display/chromeos/x11/native_display_delegate_x11.h |
+++ b/ui/display/chromeos/x11/native_display_delegate_x11.h |
@@ -8,13 +8,13 @@ |
#include <stdint.h> |
#include <map> |
+#include <memory> |
#include <set> |
#include <vector> |
#include "base/compiler_specific.h" |
#include "base/event_types.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/memory/scoped_vector.h" |
#include "base/observer_list.h" |
#include "ui/display/display_export.h" |
@@ -159,11 +159,11 @@ class DISPLAY_EXPORT NativeDisplayDelegateX11 : public NativeDisplayDelegate { |
// propagate them. |
ScopedVector<DisplaySnapshot> cached_outputs_; |
- scoped_ptr<HelperDelegate> helper_delegate_; |
+ std::unique_ptr<HelperDelegate> helper_delegate_; |
// Processes X11 display events associated with the root window and notifies |
// |observers_| when a display change has occurred. |
- scoped_ptr<NativeDisplayEventDispatcherX11> platform_event_dispatcher_; |
+ std::unique_ptr<NativeDisplayEventDispatcherX11> platform_event_dispatcher_; |
// List of observers waiting for display configuration change events. |
base::ObserverList<NativeDisplayObserver> observers_; |