Skip to content

Commit

Permalink
Bug 1405916. Remove unused bindings to push_nested_display_list. r=kats
Browse files Browse the repository at this point in the history
Bug 1405819 removed the last usage, and this will be needed for
servo/webrender#1806
  • Loading branch information
jrmuizel committed Oct 5, 2017
1 parent 53c6f57 commit 638b4b2
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1727,19 +1727,6 @@ pub unsafe extern "C" fn wr_api_finalize_builder(state: &mut WrState,
*dl_descriptor = descriptor;
}

#[no_mangle]
pub extern "C" fn wr_dp_push_built_display_list(state: &mut WrState,
dl_descriptor: BuiltDisplayListDescriptor,
dl_data: &mut WrVecU8) {
let dl_vec = mem::replace(dl_data, WrVecU8::from_vec(Vec::new())).to_vec();

let dl = BuiltDisplayList::from_data(dl_vec, dl_descriptor);

state.frame_builder.dl_builder.push_nested_display_list(&dl);
let (data, _) = dl.into_data();
mem::replace(dl_data, WrVecU8::from_vec(data));
}

pub type VecU8 = Vec<u8>;
pub type ArcVecU8 = Arc<VecU8>;

Expand Down

0 comments on commit 638b4b2

Please sign in to comment.