equal
deleted
inserted
replaced
1 # HG changeset patch |
1 # HG changeset patch |
2 # Parent 9db312f823881c04c5c16a7623df08cf6aef371d |
2 # Parent b5471d23321d16a0bacc25b7afd27d2e16adba1a |
3 Taken from https://bugzilla.mozilla.org/show_bug.cgi?id=1504834 |
3 Taken from https://bugzilla.mozilla.org/show_bug.cgi?id=1504834 |
4 |
4 |
5 diff --git a/gfx/2d/DrawTargetSkia.cpp b/gfx/2d/DrawTargetSkia.cpp |
5 diff --git a/gfx/2d/DrawTargetSkia.cpp b/gfx/2d/DrawTargetSkia.cpp |
6 --- a/gfx/2d/DrawTargetSkia.cpp |
6 --- a/gfx/2d/DrawTargetSkia.cpp |
7 +++ b/gfx/2d/DrawTargetSkia.cpp |
7 +++ b/gfx/2d/DrawTargetSkia.cpp |
8 @@ -131,18 +131,17 @@ static IntRect CalculateSurfaceBounds(co |
8 @@ -130,18 +130,17 @@ static IntRect CalculateSurfaceBounds(co |
9 Rect sampledBounds = inverse.TransformBounds(*aBounds); |
9 Rect sampledBounds = inverse.TransformBounds(*aBounds); |
10 if (!sampledBounds.ToIntRect(&bounds)) { |
10 if (!sampledBounds.ToIntRect(&bounds)) { |
11 return surfaceBounds; |
11 return surfaceBounds; |
12 } |
12 } |
13 |
13 |
26 // We should've initialized the data to be opaque already |
26 // We should've initialized the data to be opaque already |
27 // On debug builds, verify that this is actually true. |
27 // On debug builds, verify that this is actually true. |
28 diff --git a/gfx/2d/Types.h b/gfx/2d/Types.h |
28 diff --git a/gfx/2d/Types.h b/gfx/2d/Types.h |
29 --- a/gfx/2d/Types.h |
29 --- a/gfx/2d/Types.h |
30 +++ b/gfx/2d/Types.h |
30 +++ b/gfx/2d/Types.h |
31 @@ -82,25 +82,18 @@ enum class SurfaceFormat : int8_t { |
31 @@ -84,25 +84,18 @@ enum class SurfaceFormat : int8_t { |
32 Depth, |
32 Depth, |
33 |
33 |
34 // This represents the unknown format. |
34 // This represents the unknown format. |
35 UNKNOWN, |
35 UNKNOWN, |
36 |
36 |