diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-01-07 13:27:19 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-01-08 09:44:41 +0530 |
commit | 02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9 (patch) | |
tree | b80ca8ca874d2e4b30b579795292c168daccbb39 /components/script/dom/dommatrixreadonly.rs | |
parent | bd636b0e6c4f124281ce9206eedd7f60ba4ed475 (diff) | |
download | servo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.tar.gz servo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.zip |
Add accountable-refcell as optional build time feature
Diffstat (limited to 'components/script/dom/dommatrixreadonly.rs')
-rw-r--r-- | components/script/dom/dommatrixreadonly.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/dommatrixreadonly.rs b/components/script/dom/dommatrixreadonly.rs index f8d73f628c1..acfd02bd56d 100644 --- a/components/script/dom/dommatrixreadonly.rs +++ b/components/script/dom/dommatrixreadonly.rs @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -use crate::dom::bindings::cell::DomRefCell; +use crate::dom::bindings::cell::{DomRefCell, Ref}; use crate::dom::bindings::codegen::Bindings::DOMMatrixBinding::{DOMMatrixInit, DOMMatrixMethods}; use crate::dom::bindings::codegen::Bindings::DOMMatrixReadOnlyBinding::{ DOMMatrixReadOnlyMethods, Wrap, @@ -26,7 +26,7 @@ use js::jsapi::JSObject; use js::rust::CustomAutoRooterGuard; use js::typedarray::CreateWith; use js::typedarray::{Float32Array, Float64Array}; -use std::cell::{Cell, Ref}; +use std::cell::Cell; use std::f64; use std::ptr; use std::ptr::NonNull; |