Index: cc/picture_layer_tiling.h |
diff --git a/cc/picture_layer_tiling.h b/cc/picture_layer_tiling.h |
index 4eeb9ba3476d1eb10755728160aa7e64dc68a3ce..5d46c2f7ee7eca5285d0b7008318625c47b1a3ff 100644 |
--- a/cc/picture_layer_tiling.h |
+++ b/cc/picture_layer_tiling.h |
@@ -63,7 +63,7 @@ class CC_EXPORT PictureLayerTiling { |
Tile* operator*() const { return current_tile_; } |
Iterator& operator++(); |
- operator bool() const { return current_tile_; } |
+ operator bool() const { return tile_j_ <= bottom_; } |
private: |
PictureLayerTiling* tiling_; |