Marc-Edouard Vlasic scored less than 90 seconds into overtime to give the San Jose Sharks a 2-1 victory over the Anaheim Ducks on Tuesday night.

Joe Pavelski also scored for the Sharks, who snapped a two-game losing streak.

Chris Wagner scored for the Ducks, who had a two-game winning streak snapped.

Goaltender Jonathan Bernier, in just his second game with the Ducks, left the game following the first period with an upper body injury. He stopped 10 of the 11 shots he faced.

John Gibson, who led rookies in goal against average and shutouts last season, came on and stopped the first 25 shots he faced before allowing Vlasic's goal in a 1-on-1 situation.

Sharks goalie Martin Jones stopped 19 of 20 shots and improved to 3-5 all-time against the Ducks.

Pavelski gave the Sharks a 1-0 lead midway through the first period, stuffing a loose puck into the net, which came loose during the exchange. A review confirmed the goal.