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 87d0ed3e20c490b4364b6790f060716e1147dffa..4c43104f3236eaa1a6b5cd134ef02329b5c03967 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,7 @@ |
#define NGFragment_h |
#include "core/CoreExport.h" |
+#include "core/layout/ng/geometry/ng_logical_offset.h" |
#include "core/layout/ng/ng_physical_fragment.h" |
#include "core/layout/ng/ng_writing_mode.h" |
#include "platform/LayoutUnit.h" |
@@ -31,6 +32,7 @@ class CORE_EXPORT NGFragment { |
// Returns the offset relative to the parent fragment's content-box. |
LayoutUnit InlineOffset() const; |
LayoutUnit BlockOffset() const; |
+ NGLogicalOffset Offset() const; |
NGPhysicalFragment::NGFragmentType Type() const; |