Hello,
The code was added in style.css file of your child theme, so it will work fine even after next parent theme updates.
Regards