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

Unified Diff: cc/tiles/tile_manager_unittest.cc

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « cc/tiles/raster_tile_priority_queue_required.cc ('k') | cc/trees/damage_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager_unittest.cc
diff --git a/cc/tiles/tile_manager_unittest.cc b/cc/tiles/tile_manager_unittest.cc
index e3c50b940f7ef477abcf60a79c49dd4577be272d..347aa6d463624a714419ca8f263b33193216e1ae 100644
--- a/cc/tiles/tile_manager_unittest.cc
+++ b/cc/tiles/tile_manager_unittest.cc
@@ -838,7 +838,7 @@ TEST_F(TileManagerTilePriorityQueueTest,
pending_layer_->AddChild(pending_child.Pass());
FakePictureLayerImpl* pending_child_layer =
- static_cast<FakePictureLayerImpl*>(pending_layer_->children()[0]);
+ static_cast<FakePictureLayerImpl*>(pending_layer_->children()[0].get());
pending_child_layer->SetDrawsContent(true);
host_impl_.AdvanceToNextFrame(base::TimeDelta::FromMilliseconds(1));
@@ -851,7 +851,7 @@ TEST_F(TileManagerTilePriorityQueueTest,
SetupPendingTree(pending_raster_source);
FakePictureLayerImpl* active_child_layer =
- static_cast<FakePictureLayerImpl*>(active_layer_->children()[0]);
+ static_cast<FakePictureLayerImpl*>(active_layer_->children()[0].get());
std::set<Tile*> all_tiles;
size_t tile_count = 0;
« no previous file with comments | « cc/tiles/raster_tile_priority_queue_required.cc ('k') | cc/trees/damage_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698