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

Unified Diff: cc/debug/invalidation_benchmark.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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 | « cc/debug/frame_viewer_instrumentation.cc ('k') | cc/debug/invalidation_benchmark.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/invalidation_benchmark.h
diff --git a/cc/debug/invalidation_benchmark.h b/cc/debug/invalidation_benchmark.h
index 9cd264376b84afe64e34d52d6449961447acd5b1..668a7c948e9bc075a965101f21955a13746f1ec3 100644
--- a/cc/debug/invalidation_benchmark.h
+++ b/cc/debug/invalidation_benchmark.h
@@ -21,14 +21,14 @@ class Layer;
// measurement.
class CC_EXPORT InvalidationBenchmark : public MicroBenchmark {
public:
- explicit InvalidationBenchmark(scoped_ptr<base::Value> value,
+ explicit InvalidationBenchmark(std::unique_ptr<base::Value> value,
const MicroBenchmark::DoneCallback& callback);
~InvalidationBenchmark() override;
// Implements MicroBenchmark interface.
void DidUpdateLayers(LayerTreeHost* host) override;
void RunOnLayer(PictureLayer* layer) override;
- bool ProcessMessage(scoped_ptr<base::Value> value) override;
+ bool ProcessMessage(std::unique_ptr<base::Value> value) override;
private:
enum Mode { FIXED_SIZE, LAYER, VIEWPORT, RANDOM };
« no previous file with comments | « cc/debug/frame_viewer_instrumentation.cc ('k') | cc/debug/invalidation_benchmark.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698