Hedonism was the basis of utilitarianism: in the good life the ultimate good is pleasure and we ought to want pleasure. In utilitarianism it is pleasure in general, not just personal pleasure that is important.
This can be contrasted with Aristotle's view of the good life in which...