Bug 1517773 - Update webrender to commit 5e06512aee0a2e09379a49111c36f91d0ae489f4 (WR PR #3471). r=kats
authorWR Updater Bot <graphics-team@mozilla.staktrace.com>
Fri, 04 Jan 2019 19:37:50 +0000
changeset 509683 fc381b6584997e41a989228472d1afe802bbb067
parent 509682 92f9e0296e6270f507f6b36aa7038b6d03ba2a04
child 509684 7627e62b38332c8f5ccdcff98000340a4ff20e4f
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1517773
milestone66.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 1517773 - Update webrender to commit 5e06512aee0a2e09379a49111c36f91d0ae489f4 (WR PR #3471). r=kats https://github.com/servo/webrender/pull/3471 Differential Revision: https://phabricator.services.mozilla.com/D15746
gfx/webrender_bindings/revision.txt
gfx/wr/webrender/src/border.rs
gfx/wr/webrender/src/prim_store/mod.rs
--- a/gfx/webrender_bindings/revision.txt
+++ b/gfx/webrender_bindings/revision.txt
@@ -1,1 +1,1 @@
-e8ef39b4499aa93e008a25e851c01f4dff36b301
+5e06512aee0a2e09379a49111c36f91d0ae489f4
--- a/gfx/wr/webrender/src/border.rs
+++ b/gfx/wr/webrender/src/border.rs
@@ -39,27 +39,16 @@ pub const MAX_DASH_COUNT: u32 = 2048;
 #[cfg_attr(feature = "replay", derive(Deserialize))]
 pub struct BorderRadiusAu {
     pub top_left: LayoutSizeAu,
     pub top_right: LayoutSizeAu,
     pub bottom_left: LayoutSizeAu,
     pub bottom_right: LayoutSizeAu,
 }
 
-impl BorderRadiusAu {
-    pub fn zero() -> Self {
-        BorderRadiusAu {
-            top_left: LayoutSizeAu::zero(),
-            top_right: LayoutSizeAu::zero(),
-            bottom_left: LayoutSizeAu::zero(),
-            bottom_right: LayoutSizeAu::zero(),
-        }
-    }
-}
-
 impl From<BorderRadius> for BorderRadiusAu {
     fn from(radius: BorderRadius) -> BorderRadiusAu {
         BorderRadiusAu {
             top_left: radius.top_left.to_au(),
             top_right: radius.top_right.to_au(),
             bottom_right: radius.bottom_right.to_au(),
             bottom_left: radius.bottom_left.to_au(),
         }
--- a/gfx/wr/webrender/src/prim_store/mod.rs
+++ b/gfx/wr/webrender/src/prim_store/mod.rs
@@ -486,25 +486,16 @@ impl<U> From<TypedSize2D<f32, U>> for Si
     fn from(size: TypedSize2D<f32, U>) -> SizeKey {
         SizeKey {
             w: size.width,
             h: size.height,
         }
     }
 }
 
-impl SizeKey {
-    pub fn zero() -> SizeKey {
-        SizeKey {
-            w: 0.0,
-            h: 0.0,
-        }
-    }
-}
-
 /// A hashable vec for using as a key during primitive interning.
 #[cfg_attr(feature = "capture", derive(Serialize))]
 #[cfg_attr(feature = "replay", derive(Deserialize))]
 #[derive(Copy, Debug, Clone, PartialEq)]
 pub struct VectorKey {
     pub x: f32,
     pub y: f32,
 }