LOS ANGELES -- Pinch-hitter Tony Gwynn Jr. hit a go-ahead three-run triple off Tim Lincecum , one inning after San Francisco's Nate Schierholtz ran into a critical out that helped kill a Giants' rally and the first-place Los Angeles Dodgers went on to a 6-2 victory Wednesday night.