fix typos in function comments Upstream-commit: 5072b22c5fea93f00917c8c5d6a29d782db2bb73 Component: engine