Index: cc/debug/rendering_stats_instrumentation.cc |
diff --git a/cc/debug/rendering_stats_instrumentation.cc b/cc/debug/rendering_stats_instrumentation.cc |
index de7057e74f688f8ea90bd63fe4f604a9938f2ec3..69fbd50240bc01fde9cc49e4a0b6cf168270825e 100644 |
--- a/cc/debug/rendering_stats_instrumentation.cc |
+++ b/cc/debug/rendering_stats_instrumentation.cc |
@@ -2,16 +2,18 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "cc/debug/rendering_stats_instrumentation.h" |
+ |
#include <stdint.h> |
-#include "cc/debug/rendering_stats_instrumentation.h" |
+#include "base/memory/ptr_util.h" |
namespace cc { |
// static |
-scoped_ptr<RenderingStatsInstrumentation> |
- RenderingStatsInstrumentation::Create() { |
- return make_scoped_ptr(new RenderingStatsInstrumentation()); |
+std::unique_ptr<RenderingStatsInstrumentation> |
+RenderingStatsInstrumentation::Create() { |
+ return base::WrapUnique(new RenderingStatsInstrumentation()); |
} |
RenderingStatsInstrumentation::RenderingStatsInstrumentation() |