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

Unified Diff: cc/debug/micro_benchmark_controller.h

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just the vector Created 5 years, 1 month 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/micro_benchmark_controller.h
diff --git a/cc/debug/micro_benchmark_controller.h b/cc/debug/micro_benchmark_controller.h
index 198e203fa2fa0d9ceb5b085654bfc41744d28683..8f1cdfc2410b9afea86b5232a7f4834522fdb003 100644
--- a/cc/debug/micro_benchmark_controller.h
+++ b/cc/debug/micro_benchmark_controller.h
@@ -6,10 +6,10 @@
#define CC_DEBUG_MICRO_BENCHMARK_CONTROLLER_H_
#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "base/callback.h"
-#include "cc/base/scoped_ptr_vector.h"
#include "cc/debug/micro_benchmark.h"
namespace base {
@@ -42,7 +42,7 @@ class CC_EXPORT MicroBenchmarkController {
int GetNextIdAndIncrement();
LayerTreeHost* host_;
- ScopedPtrVector<MicroBenchmark> benchmarks_;
+ std::vector<scoped_ptr<MicroBenchmark>> benchmarks_;
static int next_id_;
scoped_refptr<base::SingleThreadTaskRunner> main_controller_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698