Updated

Nick Swisher and Carlos Santana each hit a home run in the sixth and the Cleveland Indians defeated the Oakland Athletics, 4-3, on Wednesday.

Michael Brantley drove in one run and Lonnie Chisenhall scored on a throwing error for the Indians, who have won the first three in this four-game series.

Cleveland starter Justin Masterson (5-2) fanned seven and gave up three runs on four hits and two walks over seven frames. Chris Perez nearly allowed a game-tying home run in the ninth but was able to notch his fifth save.

"For me, the entire key for everything that's been going for us lately has been our starting pitching," said Swisher. "These guys have done such a tremendous job. They deserve all the credit."

Daric Barton, who was called up from Triple-A Sacramento prior to the game, drove in two runs and Brandon Moss had an RBI for the Athletics. Starter A.J. Griffin (3-3) surrendered four runs -- three earned -- on six hits and two walks in 6 2/3 innings.

Brandon Moss got the Athletics on the board in the fourth, with a one-out single that scored Seth Smith. Three batters later, Barton hit a liner to center, plating Yoenis Cespedes and Moss.

Griffin walked Santana and Ryan Raburn to start the fifth. Chisenhall grounded towards Griffin, but both him and Adam Rosales had difficulty grabbing the ball, resulting in an infield single, and the bases were loaded. Drew Stubbs hit a grounder towards third but Santana was forced out at the plate before he could even slide. Rosales had an opportunity to end the inning on a double- play, getting Stubbs out at second, but he overthrew it to Barton, allowing Chisenhall to run home.

Swisher's homer tied the game in the sixth. Two batters later, Santana's solo shot gave the Indians the lead.

With two outs in the ninth, Rosales smashed a shot off Perez that hit the yellow stripe on the left field wall, but it was ruled a double. Officials reviewed the play and agreed, angering Athletics manager Bob Melvin and he was ejected from the game.

"Homer's a homer, even if it's an inch, and that was clearly further than that," said Melvin. "If it hit the pad, it would have just hit the pad and come down softly. Clearly, there was a ricochet."

Eric Sogard was hit by a pitch and John Jaso drew a walk to load the bases, but Smith's grounder towards Perez ended the game.

Game Notes

Oakland outfielder Josh Reddick was placed on the 15-day disabled list with a sprained right wrist ... Moss has 20 RBI ... Masterson entered the game 1-5 with a 10.36 ERA starting against Oakland ... The Indians are 7-3 in one-run games. They are 103-83 since 2009, fourth-best in the majors.