(James is about to leave a bar with a girl he knows Mark likes.)
James grins at Mark, who's pissed but contains himself.
Is "contains himself" exactly the right phrase here to mean that Mark controls himself from exploding even though he really wants to?