From 9b1befc75c2c87b5ad1570a931809c3c394e7e82 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Tue, 20 Feb 2018 09:06:50 -0500 Subject: [PATCH] Bug 1438892 - Update bindings for API change in WR PR 2435. r=jrmuizel MozReview-Commit-ID: EVw2PhfDAmf --HG-- extra : rebase_source : 629ced73ad3fe4fc094e0429c4cd0aabb9ca929d --- gfx/webrender_bindings/src/bindings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/webrender_bindings/src/bindings.rs b/gfx/webrender_bindings/src/bindings.rs index 3898fe703c3f..5dfead1c88fa 100644 --- a/gfx/webrender_bindings/src/bindings.rs +++ b/gfx/webrender_bindings/src/bindings.rs @@ -1008,7 +1008,7 @@ pub extern "C" fn wr_transaction_scroll_layer( 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); }