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

Unified Diff: gpu/perftests/measurements.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
« no previous file with comments | « gpu/ipc/service/stream_texture_android.cc ('k') | gpu/perftests/texture_upload_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/perftests/measurements.h
diff --git a/gpu/perftests/measurements.h b/gpu/perftests/measurements.h
index e0d9de36dc2b14322768437c35e488399381d043..f92e7ad615b1cf5e6071b7a853dcab070cbad23d 100644
--- a/gpu/perftests/measurements.h
+++ b/gpu/perftests/measurements.h
@@ -5,9 +5,9 @@
#ifndef GPU_PERFTESTS_MEASUREMENTS_H_
#define GPU_PERFTESTS_MEASUREMENTS_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
namespace gfx {
@@ -49,7 +49,7 @@ class MeasurementTimers {
private:
base::TimeTicks wall_time_start_;
base::ThreadTicks cpu_time_start_;
- scoped_ptr<gfx::GPUTimer> gpu_timer_;
+ std::unique_ptr<gfx::GPUTimer> gpu_timer_;
base::TimeDelta wall_time_;
base::TimeDelta cpu_time_;
« no previous file with comments | « gpu/ipc/service/stream_texture_android.cc ('k') | gpu/perftests/texture_upload_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698