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

Unified Diff: cc/tiles/raster_tile_priority_queue_all.h

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just the vector 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
Index: cc/tiles/raster_tile_priority_queue_all.h
diff --git a/cc/tiles/raster_tile_priority_queue_all.h b/cc/tiles/raster_tile_priority_queue_all.h
index 507467f437147f1c5ccd694b339222c52578a7c1..10dc1f72ef7b37a2a096f925290d1e656eefcf6b 100644
--- a/cc/tiles/raster_tile_priority_queue_all.h
+++ b/cc/tiles/raster_tile_priority_queue_all.h
@@ -33,11 +33,11 @@ class CC_EXPORT RasterTilePriorityQueueAll : public RasterTilePriorityQueue {
const std::vector<PictureLayerImpl*>& pending_layers,
TreePriority tree_priority);
- ScopedPtrVector<TilingSetRasterQueueAll>& GetNextQueues();
- const ScopedPtrVector<TilingSetRasterQueueAll>& GetNextQueues() const;
+ std::vector<scoped_ptr<TilingSetRasterQueueAll>>& GetNextQueues();
+ const std::vector<scoped_ptr<TilingSetRasterQueueAll>>& GetNextQueues() const;
- ScopedPtrVector<TilingSetRasterQueueAll> active_queues_;
- ScopedPtrVector<TilingSetRasterQueueAll> pending_queues_;
+ std::vector<scoped_ptr<TilingSetRasterQueueAll>> active_queues_;
+ std::vector<scoped_ptr<TilingSetRasterQueueAll>> pending_queues_;
TreePriority tree_priority_;
DISALLOW_COPY_AND_ASSIGN(RasterTilePriorityQueueAll);

Powered by Google App Engine
This is Rietveld 408576698