diff options
Diffstat (limited to 'www/chromium/files/patch-third__party_blink_renderer_platform_geometry_int__rect.h')
-rw-r--r-- | www/chromium/files/patch-third__party_blink_renderer_platform_geometry_int__rect.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_blink_renderer_platform_geometry_int__rect.h b/www/chromium/files/patch-third__party_blink_renderer_platform_geometry_int__rect.h new file mode 100644 index 000000000000..be7297e13be3 --- /dev/null +++ b/www/chromium/files/patch-third__party_blink_renderer_platform_geometry_int__rect.h @@ -0,0 +1,16 @@ +--- third_party/blink/renderer/platform/geometry/int_rect.h.orig 2022-01-24 16:04:48 UTC ++++ third_party/blink/renderer/platform/geometry/int_rect.h +@@ -244,11 +244,11 @@ constexpr IntRect SaturatedRect(const IntRect& r) { + base::ClampAdd(r.y(), r.height()) - r.y()); + } + +-constexpr bool operator==(const IntRect& a, const IntRect& b) { ++inline bool operator==(const IntRect& a, const IntRect& b) { + return a.origin() == b.origin() && a.size() == b.size(); + } + +-constexpr bool operator!=(const IntRect& a, const IntRect& b) { ++inline bool operator!=(const IntRect& a, const IntRect& b) { + return !(a == b); + } + |