equal
deleted
inserted
replaced
1 # HG changeset patch |
1 # HG changeset patch |
2 # Parent b5471d23321d16a0bacc25b7afd27d2e16adba1a |
2 # Parent 37d8d8fc1d9e42887a736102ff9cdab24d7a9aa8 |
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 @@ -130,18 +130,17 @@ static IntRect CalculateSurfaceBounds(co |
8 @@ -147,18 +147,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 @@ -84,25 +84,18 @@ enum class SurfaceFormat : int8_t { |
31 @@ -87,25 +87,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, // TODO: Replace uses with Maybe<SurfaceFormat>. |
36 |
36 |
37 // The following values are endian-independent synonyms. The _UINT32 suffix |
37 // The following values are endian-independent synonyms. The _UINT32 suffix |
38 // indicates that the name reflects the layout when viewed as a uint32_t |
38 // indicates that the name reflects the layout when viewed as a uint32_t |
39 // value. |
39 // value. |
40 -#if MOZ_LITTLE_ENDIAN() |
40 -#if MOZ_LITTLE_ENDIAN() |