Chromium Code Reviews| Index: cc/tiles/picture_layer_tiling.cc |
| diff --git a/cc/tiles/picture_layer_tiling.cc b/cc/tiles/picture_layer_tiling.cc |
| index 5bef3aa22b5d1784f27801d5b05c410b2b4a831f..3bb2331722ad337e2fd1a7128d50f97ba76c7255 100644 |
| --- a/cc/tiles/picture_layer_tiling.cc |
| +++ b/cc/tiles/picture_layer_tiling.cc |
| @@ -538,7 +538,7 @@ gfx::RectF PictureLayerTiling::CoverageIterator::texture_rect() const { |
| gfx::RectF texture_rect(current_geometry_rect_); |
| texture_rect.Scale(dest_to_content_scale_, |
| dest_to_content_scale_); |
| - texture_rect.Intersect(gfx::Rect(tiling_->tiling_size())); |
| + texture_rect.Intersect(gfx::RectF(gfx::Rect(tiling_->tiling_size()))); |
|
vmpstr
2015/08/29 00:02:46
gfx::SizeF instead of gfx::Rect maybe?
danakj
2015/08/29 00:13:37
Done.
|
| if (texture_rect.IsEmpty()) |
| return texture_rect; |
| texture_rect.Offset(-tex_origin.OffsetFromOrigin()); |