Cheer up — things will get better. (Actually, they won’t.) Photo: Erik S. Lesser/epa/Corbis

In his role as the donor class’s darling, Marco Rubio has enjoyed support from the Republicans’ media arm, Fox News. Throughout the primary, Fox provided Rubio with friendly interviews and key bookings, including the first prime-time response to Barack Obama’s Oval Office address on ISIS. Many of the network’s top pundits, including Stephen Hayes and Charles Krauthammer, have been enthusiastic boosters. Bill Sammon, Fox’s Washington managing editor, is the father of Rubio’s communications director, Brooke Sammon.

But this alliance now seems to be over. According to three Fox sources, Fox chief Roger Ailes has told people he’s lost confidence in Rubio’s ability to win. “We’re finished with Rubio,” Ailes recently told a Fox host. “We can’t do the Rubio thing anymore.”

Ailes was already concerned about Rubio’s lackluster performance in GOP primaries and caucuses, winning only one contest among the 15 that have been held. But the more proximate cause for the flip was an embarrassing New York Times article revealing that Rubio and Ailes had a secret dinner meeting in 2013 during which the Florida senator successfully lobbied the Fox News chief to throw his support behind the “Gang of 8” comprehensive immigration-reform bill. “Roger hates seeing his name in print,” a longtime Ailes associate told me. “He was appalled the dinner was reported,” the source said.

Already, there are on-air signs that Fox’s attitude toward Rubio has cooled. This morning, anchor Martha MacCallum grilled Rubio about his poor Super Tuesday performance. “Is that a viable excuse at this point?” she asked, when he tried spinning his second-place finish in Virginia.

Fox’s corporate support of Rubio has also been a growing source of tension with the network’s more conservative talent. Sean Hannity was furious that the Times article reported how he went along with Rubio’s immigration proposal. During an interview with Trump on Monday, Hannity barely defended Fox while Trump trashed Rubio backers like Hayes. “He shouldn’t be on the air,” Trump said. The best Hannity could muster was to change the subject. “Have you ever watched MSNBC?” he said. “They suck.”

Ailes is now back to searching for a candidate the channel can rally behind. “He’s thinking, What do we do about the whole damn thing?” one of the news executive’s friends said.

Fox News spokesperson Irena Briganti did not return a call for comment.