mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1613985 - Fix bustage on PathHelpers.h. r=fix CLOSED TREE
--HG-- extra : amend_source : 8f3038ca698c65ee17a9780172d6b2a8fb699c50
This commit is contained in:
parent
32e78b0cee
commit
487e61434c
@ -16,7 +16,6 @@ namespace mozilla {
|
||||
namespace gfx {
|
||||
|
||||
struct PathOp {
|
||||
PathOp() = default;
|
||||
~PathOp() = default;
|
||||
|
||||
enum OpType {
|
||||
@ -31,6 +30,8 @@ struct PathOp {
|
||||
OpType mType;
|
||||
Point mP1;
|
||||
#if (!defined(__GNUC__) || __GNUC__ >= 7) && defined(__clang__)
|
||||
PathOp() {}
|
||||
|
||||
union {
|
||||
struct {
|
||||
Point mP2;
|
||||
@ -44,6 +45,8 @@ struct PathOp {
|
||||
};
|
||||
};
|
||||
#else
|
||||
PathOp() = default;
|
||||
|
||||
Point mP2;
|
||||
Point mP3;
|
||||
float mRadius;
|
||||
|
Loading…
Reference in New Issue
Block a user