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

Side by Side Diff: cc/tiles/raster_tile_priority_queue_required.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TILES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_ 5 #ifndef CC_TILES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_
6 #define CC_TILES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_ 6 #define CC_TILES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 18 matching lines...) Expand all
29 29
30 void Build(const std::vector<PictureLayerImpl*>& active_layers, 30 void Build(const std::vector<PictureLayerImpl*>& active_layers,
31 const std::vector<PictureLayerImpl*>& pending_layers, 31 const std::vector<PictureLayerImpl*>& pending_layers,
32 Type type); 32 Type type);
33 void BuildRequiredForDraw( 33 void BuildRequiredForDraw(
34 const std::vector<PictureLayerImpl*>& active_layers); 34 const std::vector<PictureLayerImpl*>& active_layers);
35 void BuildRequiredForActivation( 35 void BuildRequiredForActivation(
36 const std::vector<PictureLayerImpl*>& active_layers, 36 const std::vector<PictureLayerImpl*>& active_layers,
37 const std::vector<PictureLayerImpl*>& pending_layers); 37 const std::vector<PictureLayerImpl*>& pending_layers);
38 38
39 std::vector<scoped_ptr<TilingSetRasterQueueRequired>> tiling_set_queues_; 39 std::vector<std::unique_ptr<TilingSetRasterQueueRequired>> tiling_set_queues_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(RasterTilePriorityQueueRequired); 41 DISALLOW_COPY_AND_ASSIGN(RasterTilePriorityQueueRequired);
42 }; 42 };
43 43
44 } // namespace cc 44 } // namespace cc
45 45
46 #endif // CC_TILES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_ 46 #endif // CC_TILES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_
OLDNEW
« no previous file with comments | « cc/tiles/raster_tile_priority_queue_all.cc ('k') | cc/tiles/raster_tile_priority_queue_required.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698