How do you bring up your partner’s weight gain?

How do you bring up your partner’s weight gain?

“Over the last six months, my girlfriend had begun eating unhealthy and appears to have gained around twenty pounds. I’m concerned about her, so I’d like to bring it up but I’m not sure how to say it politely. We have been together for over a year.
How do I say something without making her want to kill me?”