aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglprogram.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2020-01-07 13:27:19 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2020-01-08 09:44:41 +0530
commit02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9 (patch)
treeb80ca8ca874d2e4b30b579795292c168daccbb39 /components/script/dom/webglprogram.rs
parentbd636b0e6c4f124281ce9206eedd7f60ba4ed475 (diff)
downloadservo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.tar.gz
servo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.zip
Add accountable-refcell as optional build time feature
Diffstat (limited to 'components/script/dom/webglprogram.rs')
-rw-r--r--components/script/dom/webglprogram.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webglprogram.rs b/components/script/dom/webglprogram.rs
index e4f5f89c6d3..3b040a170b1 100644
--- a/components/script/dom/webglprogram.rs
+++ b/components/script/dom/webglprogram.rs
@@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://www.khronos.org/registry/webgl/specs/latest/1.0/webgl.idl
-use crate::dom::bindings::cell::DomRefCell;
+use crate::dom::bindings::cell::{DomRefCell, Ref};
use crate::dom::bindings::codegen::Bindings::WebGLProgramBinding;
use crate::dom::bindings::codegen::Bindings::WebGLRenderingContextBinding::WebGLRenderingContextConstants as constants;
use crate::dom::bindings::inheritance::Castable;
@@ -19,7 +19,7 @@ use canvas_traits::webgl::{webgl_channel, WebGLProgramId, WebGLResult};
use canvas_traits::webgl::{ActiveAttribInfo, ActiveUniformInfo, WebGLCommand, WebGLError};
use dom_struct::dom_struct;
use fnv::FnvHashSet;
-use std::cell::{Cell, Ref};
+use std::cell::Cell;
#[dom_struct]
pub struct WebGLProgram {