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..29255d559201e3d3049a1a2a772da5b37cabffda 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::SizeF(tiling_->tiling_size()))); |
if (texture_rect.IsEmpty()) |
return texture_rect; |
texture_rect.Offset(-tex_origin.OffsetFromOrigin()); |