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

Unified Diff: cc/layers/layer_perftest.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/layers/layer_list_iterator_unittest.cc ('k') | cc/layers/layer_position_constraint_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_perftest.cc
diff --git a/cc/layers/layer_perftest.cc b/cc/layers/layer_perftest.cc
index d3c119160dcd4865d468d55a1a85b4672a6824d8..237d7cf6eb953512d95c7103c72a4ed41d9f9193 100644
--- a/cc/layers/layer_perftest.cc
+++ b/cc/layers/layer_perftest.cc
@@ -51,13 +51,13 @@ class LayerPerfTest : public testing::Test {
FakeLayerTreeHostImpl host_impl_;
FakeLayerTreeHostClient fake_client_;
- scoped_ptr<FakeLayerTreeHost> layer_tree_host_;
+ std::unique_ptr<FakeLayerTreeHost> layer_tree_host_;
LapTimer timer_;
};
TEST_F(LayerPerfTest, PushPropertiesTo) {
scoped_refptr<Layer> test_layer = Layer::Create();
- scoped_ptr<LayerImpl> impl_layer =
+ std::unique_ptr<LayerImpl> impl_layer =
LayerImpl::Create(host_impl_.active_tree(), 1);
layer_tree_host_->SetRootLayer(test_layer);
« no previous file with comments | « cc/layers/layer_list_iterator_unittest.cc ('k') | cc/layers/layer_position_constraint_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698