Index: cc/base/tiling_data.h |
diff --git a/cc/base/tiling_data.h b/cc/base/tiling_data.h |
index 7cd9457095fac4c840c76f38ae20b3df021f205d..2353b77110b76ef1c0377b979627e736b6075d71 100644 |
--- a/cc/base/tiling_data.h |
+++ b/cc/base/tiling_data.h |
@@ -103,14 +103,16 @@ class CC_EXPORT TilingData { |
int bottom_; |
}; |
- // Iterate through all indices whose bounds + border intersect with |
+ // Iterate through all indices whose bounds intersect with |
// |consider| but which also do not intersect with |ignore|. |
+ // When |include_borders| is true, consider the tile bounds including |
+ // their borders. |
class CC_EXPORT DifferenceIterator : public BaseIterator { |
public: |
- DifferenceIterator( |
- const TilingData* tiling_data, |
- const gfx::Rect& consider_rect, |
- const gfx::Rect& ignore_rect); |
+ DifferenceIterator(const TilingData* tiling_data, |
+ const gfx::Rect& consider_rect, |
+ const gfx::Rect& ignore_rect, |
+ bool include_borders); |
DifferenceIterator& operator++(); |
private: |