Index: cc/debug/debug_rect_history.cc |
diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc |
index 1659316f4d74a73c019318f254858540921a7a32..24f1eab30b08ca957efb15f65ed7830960bd5d6b 100644 |
--- a/cc/debug/debug_rect_history.cc |
+++ b/cc/debug/debug_rect_history.cc |
@@ -6,6 +6,7 @@ |
#include <stddef.h> |
+#include "base/memory/ptr_util.h" |
#include "cc/base/math_util.h" |
#include "cc/layers/layer_impl.h" |
#include "cc/layers/layer_iterator.h" |
@@ -21,8 +22,8 @@ |
namespace cc { |
// static |
-scoped_ptr<DebugRectHistory> DebugRectHistory::Create() { |
- return make_scoped_ptr(new DebugRectHistory()); |
+std::unique_ptr<DebugRectHistory> DebugRectHistory::Create() { |
+ return base::WrapUnique(new DebugRectHistory()); |
} |
DebugRectHistory::DebugRectHistory() {} |