diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-26 01:32:40 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-26 09:49:08 +0200 |
commit | 577370746e2ce3da7fa25a20b8e1bbeed319df65 (patch) | |
tree | 8082a48e08b01ad5fbfc29b4bfaf4a47f42f2889 /components/script/microtask.rs | |
parent | 9a7ba89c841cc9ea2e2500813aa844b4d9c35828 (diff) | |
download | servo-577370746e2ce3da7fa25a20b8e1bbeed319df65.tar.gz servo-577370746e2ce3da7fa25a20b8e1bbeed319df65.zip |
Rename DOMRefCell<T> to DomRefCell<T>
I don't want to do such a gratuitous rename, but with all the other types
now having "Dom" as part of their name, and especially with "DomOnceCell",
I feel like the other cell type that we already have should also follow
the convention. That argument loses weight though when we realise there
is still DOMString and other things.
Diffstat (limited to 'components/script/microtask.rs')
-rw-r--r-- | components/script/microtask.rs | 4 |
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>, } |