Index: cc/picture_layer_tiling.cc |
diff --git a/cc/picture_layer_tiling.cc b/cc/picture_layer_tiling.cc |
index 349cdb289ccb2a1d3f462136902b549e5500b8ee..1b2668c00d1a6601a5b9e4e99a4fe638492f6712 100644 |
--- a/cc/picture_layer_tiling.cc |
+++ b/cc/picture_layer_tiling.cc |
@@ -140,8 +140,8 @@ PictureLayerTiling::Iterator::Iterator() |
tile_j_(0), |
left_(0), |
top_(0), |
- right_(0), |
- bottom_(0) { |
+ right_(-1), |
+ bottom_(-1) { |
} |
PictureLayerTiling::Iterator::Iterator(const PictureLayerTiling* tiling, |
@@ -155,8 +155,8 @@ PictureLayerTiling::Iterator::Iterator(const PictureLayerTiling* tiling, |
tile_j_(0), |
left_(0), |
top_(0), |
- right_(0), |
- bottom_(0) { |
+ right_(-1), |
+ bottom_(-1) { |
DCHECK(tiling_); |
if (dest_rect_.IsEmpty()) |
return; |