| Index: cc/resources/picture_layer_tiling_set.h
|
| diff --git a/cc/resources/picture_layer_tiling_set.h b/cc/resources/picture_layer_tiling_set.h
|
| index f19c1b875ad7f4a3e114737c29f809a1a821de7d..5bdf0fb2bc190dfa9bfb27738912877f1f2bcccb 100644
|
| --- a/cc/resources/picture_layer_tiling_set.h
|
| +++ b/cc/resources/picture_layer_tiling_set.h
|
| @@ -30,6 +30,10 @@ class CC_EXPORT PictureLayerTilingSet {
|
| struct TilingRange {
|
| TilingRange(size_t start, size_t end) : start(start), end(end) {}
|
|
|
| + bool IsIndexWithinRange(size_t index) const {
|
| + return index >= start && index < end;
|
| + }
|
| +
|
| size_t start;
|
| size_t end;
|
| };
|
|
|