aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins/unrooted_must_root.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-09-26 01:32:40 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-09-26 09:49:08 +0200
commit577370746e2ce3da7fa25a20b8e1bbeed319df65 (patch)
tree8082a48e08b01ad5fbfc29b4bfaf4a47f42f2889 /components/script_plugins/unrooted_must_root.rs
parent9a7ba89c841cc9ea2e2500813aa844b4d9c35828 (diff)
downloadservo-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_plugins/unrooted_must_root.rs')
-rw-r--r--components/script_plugins/unrooted_must_root.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_plugins/unrooted_must_root.rs b/components/script_plugins/unrooted_must_root.rs
index b0b409862c5..5b5647794dc 100644
--- a/components/script_plugins/unrooted_must_root.rs
+++ b/components/script_plugins/unrooted_must_root.rs
@@ -186,11 +186,11 @@ impl<'a, 'b, 'tcx> visit::Visitor<'tcx> for FnDefVisitor<'a, 'b, 'tcx> {
hir::ExprCast(ref subexpr, _) => require_rooted(cx, self.in_new_function, &*subexpr),
// This catches assignments... the main point of this would be to catch mutable
// references to `JS<T>`.
- // FIXME: Enable this? Triggers on certain kinds of uses of DOMRefCell.
+ // FIXME: Enable this? Triggers on certain kinds of uses of DomRefCell.
// hir::ExprAssign(_, ref rhs) => require_rooted(cx, self.in_new_function, &*rhs),
// This catches calls; basically, this enforces the constraint that only constructors
// can call other constructors.
- // FIXME: Enable this? Currently triggers with constructs involving DOMRefCell, and
+ // FIXME: Enable this? Currently triggers with constructs involving DomRefCell, and
// constructs like Vec<JS<T>> and RootedVec<JS<T>>.
// hir::ExprCall(..) if !self.in_new_function => {
// require_rooted(cx, self.in_new_function, expr);