Bug 1483303. Update bindings for color masking of images.
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Mon, 20 Aug 2018 22:32:54 -0400
changeset 487628 7d8dc3f7f1efd651ee878754a20eec7e445ee3cd
parent 487627 912a1df48dfd742f1f54c3c0a5634bd52a592eeb
child 487629 63ad91cbc63a2a900448b378955e0d91d70b6d9f
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1483303
milestone63.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 1483303. Update bindings for color masking of images. This makes us build after pr #2969
gfx/webrender_bindings/src/bindings.rs
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -1973,17 +1973,18 @@ pub extern "C" fn wr_dp_push_image(state
     };
     state.frame_builder
          .dl_builder
          .push_image(&prim_info,
                      stretch_size,
                      tile_spacing,
                      image_rendering,
                      alpha_type,
-                     key);
+                     key,
+                     ColorF::WHITE);
 }
 
 /// Push a 3 planar yuv image.
 #[no_mangle]
 pub extern "C" fn wr_dp_push_yuv_planar_image(state: &mut WrState,
                                               bounds: LayoutRect,
                                               clip: LayoutRect,
                                               is_backface_visible: bool,