Chromium Code Reviews| Index: cc/tiles/tile.h |
| diff --git a/cc/tiles/tile.h b/cc/tiles/tile.h |
| index 76142e86699118f284d0e11acb86aba35ad80348..e9ec6afdaa3201e4ed9110ebe74328f0f4f8473a 100644 |
| --- a/cc/tiles/tile.h |
| +++ b/cc/tiles/tile.h |
| @@ -107,6 +107,13 @@ class CC_EXPORT Tile { |
| bool HasRasterTask() const { return !!raster_task_.get(); } |
| + void set_solid_color_analysis_performed(bool performed) { |
| + is_solid_color_analysis_performed_ = performed; |
| + } |
| + bool is_solid_color_analysis_performed() const { |
| + return is_solid_color_analysis_performed_; |
| + } |
| + |
| private: |
| friend class TileManager; |
| friend class FakeTileManager; |
| @@ -144,8 +151,8 @@ class CC_EXPORT Tile { |
| Id invalidated_id_; |
| unsigned scheduled_priority_; |
| - |
| scoped_refptr<TileTask> raster_task_; |
| + bool is_solid_color_analysis_performed_ = false; |
|
enne (OOO)
2016/09/14 18:29:33
How about sticking this bool with the other bools
vmpstr
2016/09/14 18:48:12
Done.
|
| DISALLOW_COPY_AND_ASSIGN(Tile); |
| }; |