diff options
author | Josh Matthews <josh@joshmatthews.net> | 2023-05-31 23:03:32 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2023-05-31 23:03:32 -0400 |
commit | cc07e2786440528eff6a5e56b6b88c4a845c4ff9 (patch) | |
tree | 51b0f0d453415989e278f538ab9d2fc7896ed2fd /components/script/dom/dommatrix.rs | |
parent | b14b4726ac3958a932a1cf31143fc4130cafd052 (diff) | |
download | servo-cc07e2786440528eff6a5e56b6b88c4a845c4ff9.tar.gz servo-cc07e2786440528eff6a5e56b6b88c4a845c4ff9.zip |
Rename reflect_dom_object2.
Diffstat (limited to 'components/script/dom/dommatrix.rs')
-rw-r--r-- | components/script/dom/dommatrix.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/dommatrix.rs b/components/script/dom/dommatrix.rs index 54948489d11..c37ba3dfc79 100644 --- a/components/script/dom/dommatrix.rs +++ b/components/script/dom/dommatrix.rs @@ -8,7 +8,7 @@ use crate::dom::bindings::codegen::UnionTypes::StringOrUnrestrictedDoubleSequenc use crate::dom::bindings::error; use crate::dom::bindings::error::Fallible; use crate::dom::bindings::inheritance::Castable; -use crate::dom::bindings::reflector::reflect_dom_object2; +use crate::dom::bindings::reflector::reflect_dom_object_with_proto; use crate::dom::bindings::root::DomRoot; use crate::dom::dommatrixreadonly::{ dommatrixinit_to_matrix, entries_to_matrix, transform_to_matrix, DOMMatrixReadOnly, @@ -39,7 +39,7 @@ impl DOMMatrix { matrix: Transform3D<f64>, ) -> DomRoot<Self> { let dommatrix = Self::new_inherited(is2D, matrix); - reflect_dom_object2(Box::new(dommatrix), global, proto) + reflect_dom_object_with_proto(Box::new(dommatrix), global, proto) } pub fn new_inherited(is2D: bool, matrix: Transform3D<f64>) -> Self { |