remove double deprecation warning Upstream-commit: b28ef0e984c02f05298a64d79a499a52ea2f0c76 Component: engine