mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00:00
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.
This commit is contained in:
parent
9a7ba89c84
commit
577370746e
85 changed files with 436 additions and 436 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue