| Index: cc/resources/picture_layer_tiling.h
|
| diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
|
| index 743c064276ea35ae015d1831e914baac79bcebdf..67e757aa257c5496bd793df529b534818b41e4a3 100644
|
| --- a/cc/resources/picture_layer_tiling.h
|
| +++ b/cc/resources/picture_layer_tiling.h
|
| @@ -80,13 +80,13 @@ class CC_EXPORT PictureLayerTiling {
|
| // (i.e. no valid resource) this tiling should still iterate over them.
|
| // The union of all geometry_rect calls for each element iterated over should
|
| // exactly equal content_rect and no two geometry_rects should intersect.
|
| - class CC_EXPORT Iterator {
|
| + class CC_EXPORT CoverageIterator {
|
| public:
|
| - Iterator();
|
| - Iterator(const PictureLayerTiling* tiling,
|
| + CoverageIterator();
|
| + CoverageIterator(const PictureLayerTiling* tiling,
|
| float dest_scale,
|
| gfx::Rect rect);
|
| - ~Iterator();
|
| + ~CoverageIterator();
|
|
|
| // Visible rect (no borders), always in the space of content_rect,
|
| // regardless of the contents scale of the tiling.
|
| @@ -102,7 +102,7 @@ class CC_EXPORT PictureLayerTiling {
|
| Tile* operator->() const { return current_tile_; }
|
| Tile* operator*() const { return current_tile_; }
|
|
|
| - Iterator& operator++();
|
| + CoverageIterator& operator++();
|
| operator bool() const { return tile_j_ <= bottom_; }
|
|
|
| private:
|
| @@ -168,7 +168,7 @@ class CC_EXPORT PictureLayerTiling {
|
| int last_source_frame_number_;
|
| double last_impl_frame_time_;
|
|
|
| - friend class Iterator;
|
| + friend class CoverageIterator;
|
|
|
| private:
|
| DISALLOW_ASSIGN(PictureLayerTiling);
|
|
|