mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
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 --> |
||
---|---|---|
.. | ||
webgl_mode | ||
canvas_data.rs | ||
canvas_paint_thread.rs | ||
Cargo.toml | ||
gl_context.rs | ||
lib.rs | ||
webgl_thread.rs |