CALGARY, Alberta -- The Anaheim Ducks were not going to be embarrassed again.
Just two weeks after suffering a lopsided loss at the Scotiabank Saddledome, the Ducks erased a one-goal deficit for Wednesday's 3-2 come-from-behind victory over the Calgary Flames.
Centers Nick Bonino, Mathieu Perreault and Andrew Cogliano scored for the Ducks (47-18-7), who officially clinched a playoff spot Thursday night thanks to a loss by the Dallas Stars, but are more worried about catching the San Jose Sharks at the top of the Pacific Division standings.
The Ducks, who were furious after a 7-2 loss to the Flames on March 12, are now two points back of the Sharks and still have two games in hand.
Right wingers Brian McGrattan and Jiri Hudler provided the offence for the Flames (30-36-7).
Ducks goaltender Jonas Hiller finished with 32 saves, while Flames netminder Karri Ramo made 31 stops of his own.
The Flames had a handful of solid opportunities to open the scoring, but it was the Ducks that struck first on the power play.
With Flames defenseman Ladislav Smid seated for an illegal hit to the head on Ducks right winger Tim Jackman, Bonino cruised into Calgary's zone and fired a shot over Ramo's shoulder for the only goal of the first period.
McGrattan, who was skating in his 300th NHL game, tied it up at the 4:44 mark of the middle frame, getting some luck after defenseman Tyler Wotherspoon's shot bounced off fellow forward Kevin Westgarth and then off McGrattan as he was parked on the edge of the crease. It is just the 10th career goal for the enforcer, who is known more for his contributions with his fist.
Ramo made several terrific stops during the second period -- on Bonino and Ducks left winger Rickard Rackell, in particular -- and was rewarded when Hudler converted a Smid pass to score the go-ahead goal just 26 seconds before the intermission.
Perreault knotted the score at the 5:32 mark of the third period, jumping on loose puck after a rebound bounced behind Ramo. Ducks defenseman Sami Vatanen collected his second assist of the night on Perreault's goal.
Cogliano's eventual game-winner was another second effort, with Ramo providing a juicy rebound after a save on defenseman Stephane Robidas. Cogliano hit the back of the net to give the Ducks the lead with just 5:19 to go.
NOTES: Anaheim D Francois Beauchemin was a healthy scratch against the Flames. With the Ducks already booking a playoff berth, it is likely that the 33-year-old veteran was just getting a bit of extra rest. The Ducks also were without D Mark Fistric (lower body), D Cam Fowler (knee) and D Sheldon Souray (wrist) ... Flames C Markus Granlund, RW David Jones and D Dennis Wideman are all out due to upper-body injuries ... C Mikael Backlund was honored during a pregame ceremony as the recipient of the Flames' Ralph T. Scurfield Humanitarian Award. The annual award honors a player for on- and off-ice service. ... The Ducks announced they signed RW Matt Bailey to a two-year, entry-level contract. Bailey, 22, is undrafted free agent who just completed his senior season at the University of Alaska-Anchorage. On Tuesday, the Ducks agreed to an entry-level deal with D Josh Manson. The 22-year-old Manson was Anaheim's sixth-round pick in the 2011 draft, and he spent the past three campaigns at Northeastern University. His father, Dave, spent 16 seasons in the NHL. ... The Ducks are back in action Friday against the Oilers in Edmonton, while the Flames will host the New York Rangers on the same night.