mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Rename OnceCellJS<T> to DomOnceCell<T>
Like DOMRefCell<T>.
This commit is contained in:
parent
e2dac78d36
commit
9a7ba89c84
2 changed files with 9 additions and 9 deletions
|
@ -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>>>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue