Rename OnceCellJS<T> to DomOnceCell<T>

Like DOMRefCell<T>.
This commit is contained in:
Anthony Ramine 2017-09-26 01:31:29 +02:00
parent e2dac78d36
commit 9a7ba89c84
2 changed files with 9 additions and 9 deletions

View file

@ -15,7 +15,7 @@ use dom::bindings::codegen::Bindings::HTMLTextAreaElementBinding::HTMLTextAreaEl
use dom::bindings::inheritance::{Castable, ElementTypeId, HTMLElementTypeId, NodeTypeId};
use dom::bindings::refcounted::Trusted;
use dom::bindings::reflector::DomObject;
use dom::bindings::root::{Dom, OnceCellJS, Root, RootedReference};
use dom::bindings::root::{Dom, DomOnceCell, Root, RootedReference};
use dom::bindings::str::DOMString;
use dom::blob::Blob;
use dom::document::Document;
@ -64,7 +64,7 @@ pub struct GenerationId(u32);
pub struct HTMLFormElement {
htmlelement: HTMLElement,
marked_for_reset: Cell<bool>,
elements: OnceCellJS<HTMLFormControlsCollection>,
elements: DomOnceCell<HTMLFormControlsCollection>,
generation_id: Cell<GenerationId>,
controls: DOMRefCell<Vec<Dom<Element>>>,
}