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

Unified Diff: cc/test/fake_picture_layer.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: 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/test/fake_picture_layer.h ('k') | cc/test/fake_picture_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer.cc
diff --git a/cc/test/fake_picture_layer.cc b/cc/test/fake_picture_layer.cc
index 143619ad4dc7d7c3ebd9f4e8b4ba796925bf2903..291342cdab21a39c7d8866740b13235ba66a80a3 100644
--- a/cc/test/fake_picture_layer.cc
+++ b/cc/test/fake_picture_layer.cc
@@ -18,7 +18,7 @@ FakePictureLayer::FakePictureLayer(ContentLayerClient* client)
}
FakePictureLayer::FakePictureLayer(ContentLayerClient* client,
- scoped_ptr<RecordingSource> source)
+ std::unique_ptr<RecordingSource> source)
: PictureLayer(client, std::move(source)),
update_count_(0),
push_properties_count_(0),
@@ -29,7 +29,7 @@ FakePictureLayer::FakePictureLayer(ContentLayerClient* client,
FakePictureLayer::~FakePictureLayer() {}
-scoped_ptr<LayerImpl> FakePictureLayer::CreateLayerImpl(
+std::unique_ptr<LayerImpl> FakePictureLayer::CreateLayerImpl(
LayerTreeImpl* tree_impl) {
if (is_mask())
return FakePictureLayerImpl::CreateMask(tree_impl, layer_id_);
« no previous file with comments | « cc/test/fake_picture_layer.h ('k') | cc/test/fake_picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698