Bug 1409736 - Update bindings for changes in WR PR 1889. r=jrmuizel
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 23 Oct 2017 09:48:38 -0400
changeset 387634 0f5a9d7f918e967240213a9f85a423bd4486452f
parent 387633 ce878f0186940f243461d20e684fbc494d51891a
child 387635 c826c4b1da2c1999b71eff33d21c030c52f2ca36
push id32732
push userarchaeopteryx@coole-files.de
push dateMon, 23 Oct 2017 21:48:58 +0000
treeherdermozilla-central@ebde6678a101 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1409736
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1409736 - Update bindings for changes in WR PR 1889. r=jrmuizel MozReview-Commit-ID: 7EAmUwrWQUB
gfx/webrender_bindings/src/bindings.rs
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -1721,17 +1721,17 @@ pub extern "C" fn wr_dp_push_box_shadow(
     state.frame_builder
          .dl_builder
          .push_box_shadow(&prim_info,
                           box_bounds,
                           offset,
                           color,
                           blur_radius,
                           spread_radius,
-                          border_radius,
+                          BorderRadius::uniform(border_radius),
                           clip_mode);
 }
 
 #[no_mangle]
 pub unsafe extern "C" fn wr_api_finalize_builder(state: &mut WrState,
                                                  content_size: &mut LayoutSize,
                                                  dl_descriptor: &mut BuiltDisplayListDescriptor,
                                                  dl_data: &mut WrVecU8) {