Index: cc/resources/picture_layer_tiling.h |
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h |
index feb40ff16fdf79e9857ea44860257913ffdc78e4..131e338d33ccb3acc21e2f4ee80105082ea0ee26 100644 |
--- a/cc/resources/picture_layer_tiling.h |
+++ b/cc/resources/picture_layer_tiling.h |
@@ -51,9 +51,7 @@ class CC_EXPORT PictureLayerTiling { |
TilingRasterTileIterator(PictureLayerTiling* tiling, WhichTree tree); |
~TilingRasterTileIterator(); |
- operator bool() const { |
- return current_tile_ && TileNeedsRaster(current_tile_); |
- } |
+ operator bool() const { return !!current_tile_; } |
Tile* operator*() { return current_tile_; } |
TilePriority::PriorityBin get_type() const { return type_; } |