Chromium Code Reviews| Index: cc/resources/tile_manager.h |
| diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h |
| index f5bea383141a38c325f695ed2247e9b7561331a9..7812818f287b26e84bf09f2883ed1c14cad4706a 100644 |
| --- a/cc/resources/tile_manager.h |
| +++ b/cc/resources/tile_manager.h |
| @@ -104,8 +104,11 @@ class CC_EXPORT TileManager : public RasterizerClient, |
| void ManageTiles(const GlobalStateThatImpactsTilePriority& state); |
| - // Returns true when visible tiles have been initialized. |
| - bool UpdateVisibleTiles(); |
| + void UpdateVisibleTiles(); |
| + |
| + bool is_top_priority_uninitialized_tile_visible_and_active() { |
| + return is_top_priority_uninitialized_tile_visible_and_active_; |
| + } |
|
reveman
2014/10/31 00:44:01
Still doesn't feel right to be reaching into the t
danakj
2014/10/31 15:39:46
Ok thanks for bearing with me, I'm pretty clueless
|
| scoped_refptr<Tile> CreateTile(RasterSource* raster_source, |
| const gfx::Size& tile_size, |
| @@ -248,9 +251,9 @@ class CC_EXPORT TileManager : public RasterizerClient, |
| RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
| - bool did_initialize_visible_tile_; |
| bool did_check_for_completed_tasks_since_last_schedule_tasks_; |
| bool did_oom_on_last_assign_; |
| + bool is_top_priority_uninitialized_tile_visible_and_active_; |
| typedef base::hash_map<uint32_t, scoped_refptr<ImageDecodeTask>> |
| PixelRefTaskMap; |