aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_blink_renderer_platform_geometry_int__rect.h
blob: be7297e13be3210a5b7f93884db7f17fb25f2c73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
 }