Index: cc/input/input_handler.h |
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h |
index 90870d9ba53d21f6c07092d4063834a040a527f3..7115b318bc34b3082f256a6756e70b97269e83f5 100644 |
--- a/cc/input/input_handler.h |
+++ b/cc/input/input_handler.h |
@@ -5,8 +5,9 @@ |
#ifndef CC_INPUT_INPUT_HANDLER_H_ |
#define CC_INPUT_INPUT_HANDLER_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
#include "cc/base/cc_export.h" |
#include "cc/input/event_listener_properties.h" |
@@ -196,8 +197,8 @@ class CC_EXPORT InputHandler { |
// LatencyInfoSwapPromiseMonitor, if SetNeedsRedraw() or SetNeedsRedrawRect() |
// is called on LayerTreeHostImpl, the original latency info will be turned |
// into a LatencyInfoSwapPromise. |
- virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( |
- ui::LatencyInfo* latency) = 0; |
+ virtual std::unique_ptr<SwapPromiseMonitor> |
+ CreateLatencyInfoSwapPromiseMonitor(ui::LatencyInfo* latency) = 0; |
virtual ScrollElasticityHelper* CreateScrollElasticityHelper() = 0; |