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

Unified Diff: cc/tiles/tile_manager.h

Issue 2026663005: cc: Change tile manager to have a raw ptr for the task runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/test/fake_tile_manager.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.h
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h
index b1c5f3cce1659429dfe98751439af08fb9984ce1..834bac7f82086634aa2ecb7edf3b3d2494870b4e 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -96,7 +96,7 @@ RasterTaskCompletionStatsAsValue(const RasterTaskCompletionStats& stats);
class CC_EXPORT TileManager {
public:
TileManager(TileManagerClient* client,
- scoped_refptr<base::SequencedTaskRunner> task_runner,
+ base::SequencedTaskRunner* task_runner,
size_t scheduled_raster_task_limit,
bool use_partial_raster);
virtual ~TileManager();
@@ -271,7 +271,7 @@ class CC_EXPORT TileManager {
ScheduledTasksStateAsValue() const;
TileManagerClient* client_;
- scoped_refptr<base::SequencedTaskRunner> task_runner_;
+ base::SequencedTaskRunner* task_runner_;
ResourcePool* resource_pool_;
TileTaskManager* tile_task_manager_;
GlobalStateThatImpactsTilePriority global_state_;
« no previous file with comments | « cc/test/fake_tile_manager.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698