Bug 1613985 - Fix bustage on PathHelpers.h. r=fix CLOSED TREE

--HG--
extra : amend_source : 8f3038ca698c65ee17a9780172d6b2a8fb699c50
This commit is contained in:
Simon Giesecke 2020-03-04 18:36:20 +02:00
parent 32e78b0cee
commit 487e61434c

View File

@ -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;