Auto merge of #6487 - pcwalton:background-tiling, r=glennw

gfx: Use a pattern instead of tiling images manually.

r? @SimonSapin

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6487)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-07-07 05:42:07 -06:00
commit ae01e97efa
7 changed files with 77 additions and 40 deletions

View file

@ -284,7 +284,8 @@ impl FillOrStrokeStyle {
Pattern::Surface(SurfacePattern::new(
source_surface.azure_source_surface,
surface_style.repeat_x,
surface_style.repeat_y))
surface_style.repeat_y,
&Matrix2D::identity()))
}
}
}