diff options
author | Bastien Orivel <eijebong@bananium.fr> | 2018-10-11 17:36:49 +0200 |
---|---|---|
committer | Bastien Orivel <eijebong@bananium.fr> | 2018-10-12 19:57:26 +0200 |
commit | c2be78b3feace2a93132a167d7791dce5289053b (patch) | |
tree | b510d66f1c71e7ba04834b03ec43e093cc94c6fa /components/net/http_cache.rs | |
parent | 61fe737885a63ba79b97d7acf211db5dd8704e4b (diff) | |
download | servo-c2be78b3feace2a93132a167d7791dce5289053b.tar.gz servo-c2be78b3feace2a93132a167d7791dce5289053b.zip |
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.
Diffstat (limited to 'components/net/http_cache.rs')
0 files changed, 0 insertions, 0 deletions