diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-11-01 03:29:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-01 03:29:06 -0400 |
commit | 8aded34bf6cff6cb657bf434afdd9dc6cd1c4020 (patch) | |
tree | ab27d5f6337a0a7d9d72f4869e09758f3a51e0b8 /components/net/http_cache.rs | |
parent | 126ed26171c2788f0012aafdc50042d96a9fc696 (diff) | |
parent | c2be78b3feace2a93132a167d7791dce5289053b (diff) | |
download | servo-8aded34bf6cff6cb657bf434afdd9dc6cd1c4020.tar.gz servo-8aded34bf6cff6cb657bf434afdd9dc6cd1c4020.zip |
Auto merge of #21914 - Eijebong:canvas-cleanup, r=jdm
Use pixels::get_rect in CanvasData::draw_image
Those functions are the same except that get_rect isn't failible, so we
have to check that the rect we want is actually in the image.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21914)
<!-- Reviewable:end -->
Diffstat (limited to 'components/net/http_cache.rs')
0 files changed, 0 insertions, 0 deletions