TORONTO -- Even Hedo Turkoglu was surprised to find himself heading to the free throw line with a chance to beat the defending NBA champions.
"I was surprised. I thought I wasn't going to go to the line," Turkoglu said. "Usually I don't rely on that because sometimes you get calls and sometimes you don't. I just tried to take the best shot I could."
Gasol insisted he didn't foul Turkoglu on the decisive play.
"It was a questionable call," Gasol said. "I don't think I pushed him at all. My arm was on his back but I never pushed him. A tough call at a critical part of the game."
"Huge win, not only because it is against the Lakers, but we are continuing to play well at home," Bosh said.
Kobe Bryant missed a last-second jump shot and fell one assist shy of his first triple-double of the season, scoring 27 points and grabbing career-high 16 rebounds. Bryant, who shot 11 for 24, has 16 career triple-doubles.
Bryant took an inbound pass from Luke Walton but his fadeaway jumper rimmed out as the Lakers lost for the second time in three games.
"I just wanted to get a good look," Bryant said. "I wanted to raise up, put enough arc on the ball. It felt pretty good, it just came up a little bit short."
Jordan Farmar, who scored 17 points, praised Bryant's efforts but said the Lakers can't rely on last-second heroics.
"He's the best finisher in the game, that's what he does," Farmar said. "He lives for those moments. We're happy to have him in those situations, we just don't want to put him there too much."
Gasol scored 22 points for the Lakers and Andrew Bynum had 21.
Bryant said the Lakers, 5-5 in their past 10 road games, need to pick up their energy.
"We're going through a malaise a little bit," Bryant said. "Things have kind of plateaued right now. At this stage of the season it happens, but you've still got to put a whole lot of effort and kick it into high gear and get it going."
The Lakers didn't trail through the first three quarters but lost the lead in the fourth on a Bargnani 3-pointer with 7:33 left, putting Toronto up 93-90. Farmar answered with a 3 of his own, but Belinelli hit a 3 from the corner at 6:26 to restore Toronto's lead, making it 98-95.
The Raptors weren't in front for long, with baskets from Gasol and Bryant putting the Lakers back on top, 99-98, with 4:57 left. Bargnani made two free throws to give the Raptors a 100-99 edge with 4:34 left, but Bynum and Farmar countered for Los Angeles, making it 103-100 with 2:24 to go.
Toronto wasn't done, with Bargnani making the free throw after he was fouled on a reverse layup to make it 105-104 with 1:16 remaining. Bryant and Bargnani both missed jumpers before Belinelli knocked a loose ball out of play with 15 seconds remaining and 3 seconds on the shot clock. Bryant's quick jumper bounced off the rim and Bosh grabbed the rebound, giving Toronto one final chance with 11 seconds to play.
The Raptors gave the ball to Turkoglu, who drove from right to left and into a crowd of defenders, where was fouled underneath by Gasol with 1.2 seconds left.
Turkoglu, who went 6 for 6 from the line, made both free throws, setting up the dramatic finish.
Gasol scored 10 points in the opening quarter as Los Angeles led 24-21 after one. Bynum scored 11 points in the second but the Raptors hung tough and only a Bryant jumper with 2 seconds left in the half separated the teams at the intermission, with the Lakers up 56-54.
Los Angeles led 56-54 at the break and opened the third with a 7-0 run. The Raptors held firm, getting six points from Jack and five each from Belinelli and Turkoglu to cut the deficit to 84-82 heading into the fourth.
"They played some rabid, tenacious defense from about the middle of the third quarter on," Jackson said.
Bosh tipped a Gasol miss into his own basket in the first. ... The Lakers, who play the Wizards in Washington on Tuesday, are scheduled to visit the White House on Monday afternoon. ... Bynum started for the Lakers despite missing the team flight from New York City on Saturday morning. "His bags made it to Toronto but he didn't," Jackson said. Bynum was punished with a fine, and had to pay his own fare to Toronto.