Index: chrome/browser/chromeos/policy/display_rotation_default_handler.h |
diff --git a/chrome/browser/chromeos/policy/display_rotation_default_handler.h b/chrome/browser/chromeos/policy/display_rotation_default_handler.h |
index 8c9bcd039ce586b04b1ad9df97e389f1ea8d7de1..eb01c57fb9294637475c822a6f6f8d5b59d03985 100644 |
--- a/chrome/browser/chromeos/policy/display_rotation_default_handler.h |
+++ b/chrome/browser/chromeos/policy/display_rotation_default_handler.h |
@@ -7,12 +7,12 @@ |
#include <stdint.h> |
+#include <memory> |
#include <set> |
#include "ash/display/window_tree_host_manager.h" |
#include "ash/shell_observer.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/chromeos/settings/cros_settings.h" |
#include "ui/gfx/display.h" |
@@ -60,7 +60,8 @@ class DisplayRotationDefaultHandler |
std::set<int64_t> rotated_displays_; |
bool rotation_in_progress_ = false; |
- scoped_ptr<chromeos::CrosSettings::ObserverSubscription> settings_observer_; |
+ std::unique_ptr<chromeos::CrosSettings::ObserverSubscription> |
+ settings_observer_; |
DISALLOW_COPY_AND_ASSIGN(DisplayRotationDefaultHandler); |
}; |