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

Unified Diff: cc/tiles/raster_tile_priority_queue_all.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: 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/tiles/raster_tile_priority_queue.cc ('k') | cc/tiles/raster_tile_priority_queue_all.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 275a73183bdf4ee08a79c2eb323972f0c0d69e35..af4983ae51bf9eebcb87ac4b6580310720afc2f9 100644
--- a/cc/tiles/raster_tile_priority_queue_all.h
+++ b/cc/tiles/raster_tile_priority_queue_all.h
@@ -34,11 +34,12 @@ class CC_EXPORT RasterTilePriorityQueueAll : public RasterTilePriorityQueue {
const std::vector<PictureLayerImpl*>& pending_layers,
TreePriority tree_priority);
- std::vector<scoped_ptr<TilingSetRasterQueueAll>>& GetNextQueues();
- const std::vector<scoped_ptr<TilingSetRasterQueueAll>>& GetNextQueues() const;
+ std::vector<std::unique_ptr<TilingSetRasterQueueAll>>& GetNextQueues();
+ const std::vector<std::unique_ptr<TilingSetRasterQueueAll>>& GetNextQueues()
+ const;
- std::vector<scoped_ptr<TilingSetRasterQueueAll>> active_queues_;
- std::vector<scoped_ptr<TilingSetRasterQueueAll>> pending_queues_;
+ std::vector<std::unique_ptr<TilingSetRasterQueueAll>> active_queues_;
+ std::vector<std::unique_ptr<TilingSetRasterQueueAll>> pending_queues_;
TreePriority tree_priority_;
DISALLOW_COPY_AND_ASSIGN(RasterTilePriorityQueueAll);
« no previous file with comments | « cc/tiles/raster_tile_priority_queue.cc ('k') | cc/tiles/raster_tile_priority_queue_all.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698