Index: content/browser/time_zone_monitor_win.cc |
diff --git a/content/browser/time_zone_monitor_win.cc b/content/browser/time_zone_monitor_win.cc |
index e8b84fd3d3ff0b499949583003641ee63020d293..f7eb54d7751785e04ce539c07a38c5a7f5ccfd37 100644 |
--- a/content/browser/time_zone_monitor_win.cc |
+++ b/content/browser/time_zone_monitor_win.cc |
@@ -6,10 +6,11 @@ |
#include <windows.h> |
+#include <memory> |
+ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "ui/gfx/win/singleton_hwnd_observer.h" |
namespace content { |
@@ -33,14 +34,14 @@ class TimeZoneMonitorWin : public TimeZoneMonitor { |
NotifyRenderers(); |
} |
- scoped_ptr<gfx::SingletonHwndObserver> singleton_hwnd_observer_; |
+ std::unique_ptr<gfx::SingletonHwndObserver> singleton_hwnd_observer_; |
DISALLOW_COPY_AND_ASSIGN(TimeZoneMonitorWin); |
}; |
// static |
-scoped_ptr<TimeZoneMonitor> TimeZoneMonitor::Create() { |
- return scoped_ptr<TimeZoneMonitor>(new TimeZoneMonitorWin()); |
+std::unique_ptr<TimeZoneMonitor> TimeZoneMonitor::Create() { |
+ return std::unique_ptr<TimeZoneMonitor>(new TimeZoneMonitorWin()); |
} |
} // namespace content |