| Index: cc/resources/tile.h
|
| diff --git a/cc/resources/tile.h b/cc/resources/tile.h
|
| index 2aa4c651480412fd7a58d2a6274d484c27110d87..dad2c99984f468651804be92e54ac0891f192ade 100644
|
| --- a/cc/resources/tile.h
|
| +++ b/cc/resources/tile.h
|
| @@ -35,6 +35,10 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
|
| return picture_pile_.get();
|
| }
|
|
|
| + const PicturePileImpl* picture_pile() const {
|
| + return picture_pile_.get();
|
| + }
|
| +
|
| const TilePriority& priority(WhichTree tree) const {
|
| return priority_[tree];
|
| }
|
| @@ -84,10 +88,10 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
|
|
|
| // For test only methods.
|
| bool HasRasterTaskForTesting() const {
|
| - return !managed_state().raster_task.is_null();
|
| + return !managed_state().pending_tile_versions.empty();
|
| }
|
| void ResetRasterTaskForTesting() {
|
| - managed_state().raster_task.Reset();
|
| + managed_state().pending_tile_versions.clear();
|
| }
|
|
|
| private:
|
|
|