He also played for the Toronto Maple Leafs from 2007 to 2009 . He was a first round draft pick of the Toronto Maple Leafs in the 2006 NHL Entry Draft , and split time between the Maple Leafs and the Toronto Marlies of the American Hockey League ( AHL ) until he was traded to the Hurricanes in December 2009 .