Providing another person with willful, intimate, and sexual gratification that your partner doesn't approve of is cheating.

Porn is self-gratification. It doesn't involve another person being satisfied by your action. Fucking a glory hole, sexting, or sending nudes, these things are deliberate acts of betrayal more often than not. 

Why pretend there's no difference between satisfying someone else and jerking your gerkin?