There can be an experience-oriented and a person-oriented version of hedonism. On the former view, it is the experience of happiness that is good, wherever it occurs; on the latter view what is good is that people are happy. On the former view people matter, so to speak, only as containers of happiness—it is the total quantity of happiness that really matters. On the latter view the starting point is impartial concern for the happiness of actual people. Real and important ethical differences can flow from this very deep contrast.
John Skorupski, ‘The Philosophy of John Stuart Mill’, British Journal for the History of Philosophy, vol. 15, no. 1 (2007), p. 189