aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformelement.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-09-26 01:31:29 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-09-26 09:49:06 +0200
commit9a7ba89c841cc9ea2e2500813aa844b4d9c35828 (patch)
tree616f6fe04a59ba39d02cd4c831d08189a719bdc3 /components/script/dom/htmlformelement.rs
parente2dac78d3600cb4b2b4474f1db4f0fcaadbe24ea (diff)
downloadservo-9a7ba89c841cc9ea2e2500813aa844b4d9c35828.tar.gz
servo-9a7ba89c841cc9ea2e2500813aa844b4d9c35828.zip
Rename OnceCellJS<T> to DomOnceCell<T>
Like DOMRefCell<T>.
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rwxr-xr-xcomponents/script/dom/htmlformelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs
index 5f553d1d433..a062ca3f055 100755
--- a/components/script/dom/htmlformelement.rs
+++ b/components/script/dom/htmlformelement.rs
@@ -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>>>,
}