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

Unified Diff: cc/test/fake_layer_tree_host.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: 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/test/fake_layer_tree_host.h
diff --git a/cc/test/fake_layer_tree_host.h b/cc/test/fake_layer_tree_host.h
index 1218fb4836fd5180b1d1361cc5dbfc4dd5487f9a..0255078a5aaf69567115d1f2c420c5e6d6430fba 100644
--- a/cc/test/fake_layer_tree_host.h
+++ b/cc/test/fake_layer_tree_host.h
@@ -20,25 +20,25 @@ class TestTaskGraphRunner;
class FakeLayerTreeHost : public LayerTreeHost {
public:
- static scoped_ptr<FakeLayerTreeHost> Create(
+ static std::unique_ptr<FakeLayerTreeHost> Create(
FakeLayerTreeHostClient* client,
TestTaskGraphRunner* task_graph_runner);
- static scoped_ptr<FakeLayerTreeHost> Create(
+ static std::unique_ptr<FakeLayerTreeHost> Create(
FakeLayerTreeHostClient* client,
TestTaskGraphRunner* task_graph_runner,
const LayerTreeSettings& settings);
- static scoped_ptr<FakeLayerTreeHost> Create(
+ static std::unique_ptr<FakeLayerTreeHost> Create(
FakeLayerTreeHostClient* client,
TestTaskGraphRunner* task_graph_runner,
const LayerTreeSettings& settings,
CompositorMode mode);
- static scoped_ptr<FakeLayerTreeHost> Create(
+ static std::unique_ptr<FakeLayerTreeHost> Create(
FakeLayerTreeHostClient* client,
TestTaskGraphRunner* task_graph_runner,
const LayerTreeSettings& settings,
CompositorMode mode,
InitParams params);
- static scoped_ptr<FakeLayerTreeHost> Create(
+ static std::unique_ptr<FakeLayerTreeHost> Create(
FakeLayerTreeHostClient* client,
TestTaskGraphRunner* task_graph_runner,
const LayerTreeSettings& settings,

Powered by Google App Engine
This is Rietveld 408576698