Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(905)

Unified Diff: cc/debug/benchmark_instrumentation.cc

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/debug/benchmark_instrumentation.cc
diff --git a/cc/debug/benchmark_instrumentation.cc b/cc/debug/benchmark_instrumentation.cc
index ed8fe214fdfa3a6a76db065bf6b12d97aa42f206..c32565ee62230ccc2d71e6d5972337da3ff13012 100644
--- a/cc/debug/benchmark_instrumentation.cc
+++ b/cc/debug/benchmark_instrumentation.cc
@@ -20,7 +20,7 @@ void IssueImplThreadRenderingStatsEvent(const RenderingStats& stats) {
}
void IssueDisplayRenderingStatsEvent() {
- scoped_ptr<base::trace_event::TracedValue> record_data(
+ std::unique_ptr<base::trace_event::TracedValue> record_data(
new base::trace_event::TracedValue());
record_data->SetInteger("frame_count", 1);
TRACE_EVENT_INSTANT1(

Powered by Google App Engine
This is Rietveld 408576698