Signed-off-by: Andres Gomez <agomez@igalia.com> (cherry picked from commit 61b134a862ecc1877bbe2f2c14e493b5fb607e04)