Don Mattingly rode his ace as Los Angeles turned the tables by finishing off a narrow three-game sweep of San Francisco.