WASHINGTON — The House has passed a $1.1 billion House-Senate measure to combat the Zika virus, but the GOP-drafted measure is a nonstarter with Senate Democrats and the Obama White House.

The measure was unveiled late Wednesday and approved by the House early on Thursday morning by a 239-171 vote that broke along party lines.

Now, the House-passed compromise measure advances to the Senate, where Democrats promise to filibuster it to death. The vote came after Democrats hijacked the House floor for virtually all of Wednesday and well into Thursday, protesting GOP inaction on gun legislation in the wake of the mass shooting in Orlando. GOP leaders called the vote abruptly, permitting no debate, and immediately adjourned the House through July 4.

The rapid turn of events of Zika ignited another round of the partisanship that has dogged the measure from the start and raised questions about whether lawmakers will manage to pass anything on Zika in the short time left before exiting Washington in mid-July for the political conventions.

Now, the House-passed compromise measure advances to the Senate, where Democrats promise to filibuster it to death.

Thursday’s measure splits the difference between earlier House- and Senate-passed versions. It matches a bipartisan $1.1 billion figure adopted by the Senate last month to combat the Zika virus, which can cause grave defects and can be transmitted by mosquitoes and sexual contact.

The House was largely satisfied in their demand to pair the Zika funding with about $750 million in offsetting cuts to spending, including $543 million in unused funds from implementation of Obama’s health care law and $107 million in cuts to leftover Ebola funding.

But Democrats erupted in opposition, citing provisions that effectively blocked Planned Parenthood from delivering birth control services under a $95 million grant program and a watered-down version of a provision backed by the House that would ease rules on certain pesticide permit requirements for battling the mosquitoes that can spread Zika.

“This plan from Congressional Republicans is four months late and nearly a billion dollars short,” said White House press secretary Josh Earnest. President Barack Obama requested $1.9 billion four months ago to fight Zika. Republicans initially displayed little urgency to respond to the request, and forced the administration to devote more than $500 million of unspent Ebola funding to fight Zika.

Democrats also opposed cutting unspent money to pay for the Zika measure, saying said it is wrong to require spending cuts to pay for a response to a public health crisis while not requiring them for past emergencies such as wildfires, floods and Ebola.

Rep. Nita Lowey, D-N.Y., said the offsetting spending cuts would “set a precedent that will hinder our ability to respond to the next public health crisis, natural disaster, or national security event.”

But Republicans said that the cuts were in fact relatively innocuous. For instance, the $543 million cut to “Obamacare” was to a pot of money aimed at helping territories set up health insurance exchanges under the law. None of them did so. And Democrats privately signaled they could live with the additional $100 million-plus cut to overseas Ebola aid.

Democrats on the Appropriations Committee had engaged in talks about the offsetting cuts, but top Democrats like Minority Leader Harry Reid of Nevada adopted a harder line that ultimately prevailed. Reid and his top lieutenants issued statements blasting the GOP measure, and appear comfortable at the prospect of killing it.

What might happen if Senate Democrats are united behind a filibuster is uncertain. But time to pass the measure to provide money to battle the virus, which can be spread by mosquitoes common in much of the U.S., is slipping away as Congress is slated to recess for the party political conventions in mid-July.

The Zika funding was attached to an $82 billion measure funding the Department of Veterans Affairs and military construction projects. That measure is among the most popular of the 12 annual appropriations bills, and Republicans held out hope that its popularity might break free enough Democrats for it to squeak through the Senate.

More than 2,200 cases of Zika infection have been reported in the U.S. and its territories, especially Puerto Rico— including more than 400 pregnant women at risk of babies with major deformities like microcephaly, a condition in which babies are born with smaller brains that might not have developed properly. Thus far, there have been no cases of mosquito-borne Zika in the U.S., but public health official fear isolated outbreaks, especially in the South.

The veterans funding portion of the measure also contains a modified provision to permit combat veterans whose wounds have left them unable to conceive children to seek in-vitro fertilization treatments. But it would not permit the use of donor eggs and sperm to help veterans with the most severe injuries to their sexual organs have children.

GOP leaders also orchestrated removal of a House-passed provision that would ban the display of the Confederate flag over mass graves in VA cemeteries. Top Republicans such as Majority Leader Kevin McCarthy of California had initially supported the idea.