aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/dommatrix.rs
diff options
context:
space:
mode:
authorNicolas Silva <nical@fastmail.com>2017-06-02 14:50:26 +0200
committerNicolas Silva <nical@fastmail.com>2017-06-14 16:00:59 +0200
commit8617320500491fab91979404cec2087bac7ef362 (patch)
tree7db5b5b5a17fb59bb727a2a59ba27f351d01fb90 /components/script/dom/dommatrix.rs
parent5dce166266d1f74e2ae88dbe52ca5ced75c2349b (diff)
downloadservo-8617320500491fab91979404cec2087bac7ef362.tar.gz
servo-8617320500491fab91979404cec2087bac7ef362.zip
Bump euclid to 0.14.
Diffstat (limited to 'components/script/dom/dommatrix.rs')
-rw-r--r--components/script/dom/dommatrix.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/dommatrix.rs b/components/script/dom/dommatrix.rs
index eb33d42efcf..3b262650bac 100644
--- a/components/script/dom/dommatrix.rs
+++ b/components/script/dom/dommatrix.rs
@@ -11,7 +11,7 @@ use dom::bindings::reflector::reflect_dom_object;
use dom::dommatrixreadonly::{dommatrixinit_to_matrix, DOMMatrixReadOnly, entries_to_matrix};
use dom::globalscope::GlobalScope;
use dom_struct::dom_struct;
-use euclid::Matrix4D;
+use euclid::Transform3D;
#[dom_struct]
@@ -21,12 +21,12 @@ pub struct DOMMatrix {
impl DOMMatrix {
#[allow(unrooted_must_root)]
- pub fn new(global: &GlobalScope, is2D: bool, matrix: Matrix4D<f64>) -> Root<Self> {
+ pub fn new(global: &GlobalScope, is2D: bool, matrix: Transform3D<f64>) -> Root<Self> {
let dommatrix = Self::new_inherited(is2D, matrix);
reflect_dom_object(box dommatrix, global, Wrap)
}
- pub fn new_inherited(is2D: bool, matrix: Matrix4D<f64>) -> Self {
+ pub fn new_inherited(is2D: bool, matrix: Transform3D<f64>) -> Self {
DOMMatrix {
parent: DOMMatrixReadOnly::new_inherited(is2D, matrix)
}