| Index: cc/resources/tile.h
|
| diff --git a/cc/resources/tile.h b/cc/resources/tile.h
|
| index 01a733cc6c9b9263046c8e2caeabd1c44bb0168a..c55c7840ec08120cc83e3dc748b8e74eb27bf3ec 100644
|
| --- a/cc/resources/tile.h
|
| +++ b/cc/resources/tile.h
|
| @@ -81,10 +81,9 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
|
| }
|
| }
|
|
|
| - void MarkRequiredForActivation();
|
| -
|
| - bool required_for_activation() const {
|
| - return priority_[PENDING_TREE].required_for_activation;
|
| + bool required_for_activation() const { return required_for_activation_; }
|
| + void set_required_for_activation(bool is_required) {
|
| + required_for_activation_ = is_required;
|
| }
|
|
|
| bool use_picture_analysis() const {
|
| @@ -143,6 +142,13 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
|
| RasterMode DetermineRasterModeForTree(WhichTree tree) const;
|
| RasterMode DetermineOverallRasterMode() const;
|
|
|
| + void set_tiling_index(int i, int j) {
|
| + tiling_i_index_ = i;
|
| + tiling_j_index_ = j;
|
| + }
|
| + int tiling_i_index() const { return tiling_i_index_; }
|
| + int tiling_j_index() const { return tiling_j_index_; }
|
| +
|
| // Functionality used in tests.
|
| RasterMode GetRasterModeForTesting() const {
|
| return managed_state().raster_mode;
|
| @@ -189,6 +195,9 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
|
| int layer_id_;
|
| int source_frame_number_;
|
| int flags_;
|
| + int tiling_i_index_;
|
| + int tiling_j_index_;
|
| + bool required_for_activation_;
|
|
|
| Id id_;
|
| static Id s_next_id_;
|
|
|