Index: third_party/WebKit/Source/core/layout/ng/ng_units.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_units.h b/third_party/WebKit/Source/core/layout/ng/ng_units.h |
index 3f1b9b44a618cfd19719288c37b192bdf0269f5c..d52f17d858c99989caea7fcec888dcfde5443383 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.h |
@@ -49,18 +49,10 @@ struct NGLogicalOffset { |
NGPhysicalSize container_size, |
NGPhysicalSize inner_size) const; |
bool operator==(const NGLogicalOffset& other) const; |
-}; |
-// Origin (in logical coordinates) for a fragment or inline content. |
-struct NGLogicalOrigin { |
- LayoutUnit inline_offset; |
- LayoutUnit block_offset; |
-}; |
+ NGLogicalOffset operator+(const NGLogicalOffset& other) const; |
-// Leader point (in logical coordinates) for a text fragment. |
-struct NGLogicalLeader { |
- LayoutUnit inline_offset; |
- LayoutUnit block_offset; |
+ NGLogicalOffset& operator+=(const NGLogicalOffset& other); |
}; |
// NGPhysicalOffset is the position of a rect (typically a fragment) relative to |