Index: cc/debug/debug_rect_history.cc |
diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc |
index cd3830317fe009442f93b75cc525ef1ebb3a5ab6..02264216c429bceb21d63d5f5a3da55db560922b 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() {} |