# HG changeset patch # User Kartikaya Gupta # Date 1519135610 18000 # Node ID 7819788b6f0962fee80d82cae527f2bd9a7e4397 # Parent 6a56592697c1d70a5802612b13854e3cc87ceca4 Bug 1438892 - Update bindings for API change in WR PR 2435. r=jrmuizel MozReview-Commit-ID: EVw2PhfDAmf diff --git a/gfx/webrender_bindings/src/bindings.rs b/gfx/webrender_bindings/src/bindings.rs --- a/gfx/webrender_bindings/src/bindings.rs +++ b/gfx/webrender_bindings/src/bindings.rs @@ -995,17 +995,17 @@ pub extern "C" fn wr_transaction_update_ #[no_mangle] pub extern "C" fn wr_transaction_scroll_layer( txn: &mut Transaction, pipeline_id: WrPipelineId, scroll_id: u64, new_scroll_origin: LayoutPoint ) { assert!(unsafe { is_in_compositor_thread() }); - let scroll_id = ScrollNodeIdType::from(ExternalScrollId(scroll_id, pipeline_id)); + let scroll_id = ExternalScrollId(scroll_id, pipeline_id); txn.scroll_node_with_id(new_scroll_origin, scroll_id, ScrollClamping::NoClamping); } #[no_mangle] pub extern "C" fn wr_resource_updates_add_image( resources: &mut ResourceUpdates, image_key: WrImageKey, descriptor: &WrImageDescriptor,