aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/microtask.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/microtask.rs')
-rw-r--r--components/script/microtask.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/microtask.rs b/components/script/microtask.rs
index f88f6e8fa4c..476a551c25c 100644
--- a/components/script/microtask.rs
+++ b/components/script/microtask.rs
@@ -7,7 +7,7 @@
//! perform checkpoints at appropriate times, as well as enqueue microtasks as required.
use dom::bindings::callback::ExceptionHandling;
-use dom::bindings::cell::DOMRefCell;
+use dom::bindings::cell::DomRefCell;
use dom::bindings::codegen::Bindings::PromiseBinding::PromiseJobCallback;
use dom::bindings::root::Root;
use dom::globalscope::GlobalScope;
@@ -24,7 +24,7 @@ use std::rc::Rc;
#[derive(Default, HeapSizeOf, JSTraceable)]
pub struct MicrotaskQueue {
/// The list of enqueued microtasks that will be invoked at the next microtask checkpoint.
- microtask_queue: DOMRefCell<Vec<Microtask>>,
+ microtask_queue: DomRefCell<Vec<Microtask>>,
/// https://html.spec.whatwg.org/multipage/#performing-a-microtask-checkpoint
performing_a_microtask_checkpoint: Cell<bool>,
}