Bug 1464473 - Update for API change in WR PR 2764. r?Gankro
MozReview-Commit-ID: AScuSY0OViR
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -822,17 +822,17 @@ pub unsafe extern "C" fn wr_thread_pool_
pub unsafe extern "C" fn wr_thread_pool_delete(thread_pool: *mut WrThreadPool) {
Box::from_raw(thread_pool);
}
pub struct WrProgramCache(Rc<ProgramCache>);
#[no_mangle]
pub unsafe extern "C" fn wr_program_cache_new() -> *mut WrProgramCache {
- let program_cache = ProgramCache::new();
+ let program_cache = ProgramCache::new(None);
Box::into_raw(Box::new(WrProgramCache(program_cache)))
}
/// cbindgen:postfix=WR_DESTRUCTOR_SAFE_FUNC
#[no_mangle]
pub unsafe extern "C" fn wr_program_cache_delete(program_cache: *mut WrProgramCache) {
Rc::from_raw(program_cache);
}