Gavin McKenna notched the game-winner with a power-play tally midway through the third period, and Auston Matthews supplied a pair of assists as the Toronto Maple Leafs edged the Philadelphia Flyers 3-2.