| Index: third_party/WebKit/Source/core/layout/ng/ng_fragment.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment.h
|
| index 8b10e25b8101cda2fd86d75caf64bc6f72112460..ccb1f760c335d61475b38a7067c990745f2da777 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_fragment.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment.h
|
| @@ -6,6 +6,8 @@
|
| #define NGFragment_h
|
|
|
| #include "core/CoreExport.h"
|
| +#include "core/layout/ng/geometry/ng_logical_offset.h"
|
| +#include "core/layout/ng/geometry/ng_logical_size.h"
|
| #include "core/layout/ng/ng_physical_fragment.h"
|
| #include "core/layout/ng/ng_writing_mode.h"
|
| #include "platform/LayoutUnit.h"
|
| @@ -22,12 +24,10 @@ class CORE_EXPORT NGFragment {
|
| }
|
|
|
| // Returns the border-box size.
|
| - LayoutUnit InlineSize() const;
|
| - LayoutUnit BlockSize() const;
|
| + NGLogicalSize Size() const;
|
|
|
| // Returns the offset relative to the parent fragment's content-box.
|
| - LayoutUnit InlineOffset() const;
|
| - LayoutUnit BlockOffset() const;
|
| + NGLogicalOffset Offset() const;
|
|
|
| NGPhysicalFragment::NGFragmentType Type() const;
|
|
|
|
|