diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-08-30 01:06:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 01:06:44 -0500 |
commit | afb874becd03627c6501434957f47ee7821119ef (patch) | |
tree | 1d2998ca0117a54612812d568c774674592e20b8 /python/servo/bootstrap_commands.py | |
parent | 88e7906191d9ba2afc6f5eabeec3407996403f2b (diff) | |
parent | 5c5a72c1d81eef9889a5355cd9c87207313d1316 (diff) | |
download | servo-afb874becd03627c6501434957f47ee7821119ef.tar.gz servo-afb874becd03627c6501434957f47ee7821119ef.zip |
Auto merge of #18305 - BorisChiou:stylo/animation/transform/determinant_panic, r=birtles
Return Err(()) if determinant is not 1 or -1 while decomposing the 2d matrix
This error may happen in some cases, and we shouldn't panic in debug mode,
so let's return Err(()) for it to fall back to discrete animation.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1393605](https://bugzilla.mozilla.org/show_bug.cgi?id=1393605).
- [X] These changes do not require tests because we just downgrade the panic to an Err result.
<!-- 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/18305)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo/bootstrap_commands.py')
0 files changed, 0 insertions, 0 deletions