Index: third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_offset.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_offset.cc b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_offset.cc |
index 5c7edf0b0ee5773766e7ec303d8da5aeeb9fe472..c00d7d7b09de4689b8ed4a0b41cad55b68698f04 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_offset.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_offset.cc |
@@ -56,6 +56,10 @@ bool NGLogicalOffset::operator==(const NGLogicalOffset& other) const { |
std::tie(inline_offset, block_offset); |
} |
+bool NGLogicalOffset::operator!=(const NGLogicalOffset& other) const { |
+ return !operator==(other); |
+} |
+ |
NGLogicalOffset NGLogicalOffset::operator+(const NGLogicalOffset& other) const { |
NGLogicalOffset result; |
result.inline_offset = this->inline_offset + other.inline_offset; |