I suspect the OP will make his connection just fine. The flight from YVR to YYZ is making up time and will be at the gate almost on schedule (5 minutes late). That will give the OP 40 minutes to connect.
(Heck, he/she can probably stop at the bar for a quick beer)