fixup! Introduce safe checking whether DOMRefCell<T>.borrow_for_layout() is called from layout task.