Backed out changeset 3977404931e5 for failing mochitest layout/style/test/test_value_computation.html. r=backout

Backs out https://github.com/servo/servo/pull/17654
This commit is contained in:
Gecko Backout 2017-07-11 22:14:04 +00:00 committed by moz-servo-sync
parent 2a575acabe
commit 02d9305782
4 changed files with 29 additions and 85 deletions

View file

@ -3846,9 +3846,9 @@ fn static_assert() {
bindings::Gecko_SetImageOrientationAsFromImage(&mut self.gecko);
}
},
T::AngleWithFlipped(ref orientation, flipped) => {
T::AngleWithFlipped(ref angle, flipped) => {
unsafe {
bindings::Gecko_SetImageOrientation(&mut self.gecko, *orientation as u8, flipped);
bindings::Gecko_SetImageOrientation(&mut self.gecko, angle.radians() as f64, flipped);
}
}
}