aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/display_list_builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/display_list_builder.rs')
-rw-r--r--components/layout/display_list_builder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs
index 8574ce018a0..9a78c0d8909 100644
--- a/components/layout/display_list_builder.rs
+++ b/components/layout/display_list_builder.rs
@@ -1217,8 +1217,8 @@ impl FragmentDisplayListBuilding for Fragment {
transform::ComputedOperation::Matrix(m) => {
m.to_gfx_matrix()
}
- transform::ComputedOperation::Skew(sx, sy) => {
- Matrix4::create_skew(sx, sy)
+ transform::ComputedOperation::Skew(theta_x, theta_y) => {
+ Matrix4::create_skew(theta_x.radians(), theta_y.radians())
}
};