diff options
Diffstat (limited to 'cc/base/tiling_data.h')
-rw-r--r-- | cc/base/tiling_data.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cc/base/tiling_data.h b/cc/base/tiling_data.h index ee3a51e..d885c9b 100644 --- a/cc/base/tiling_data.h +++ b/cc/base/tiling_data.h @@ -86,11 +86,13 @@ class CC_EXPORT TilingData { int index_y_; }; - // Iterate through all indices whose bounds + border intersect with |rect|. + // Iterate through tiles whose bounds + optional border intersect with |rect|. class CC_EXPORT Iterator : public BaseIterator { public: Iterator(); - Iterator(const TilingData* tiling_data, const gfx::Rect& tiling_rect); + Iterator(const TilingData* tiling_data, + const gfx::Rect& tiling_rect, + bool include_borders); Iterator& operator++(); private: |