diff --git a/flow/raster_cache.cc b/flow/raster_cache.cc index a2831f83e3fdc..3e525262a8345 100644 --- a/flow/raster_cache.cc +++ b/flow/raster_cache.cc @@ -218,8 +218,8 @@ bool RasterCache::Prepare(GrContext* context, if (!entry.image.is_valid()) { entry.image = RasterizePicture(picture, context, transformation_matrix, dst_color_space, checkerboard_images_); + picture_cached_this_frame_++; } - picture_cached_this_frame_++; return true; }