Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h |
index 9be8cd6cba693df2a8559e85fa418f3728caee71..9e4ada820961813086208de95bfa961a9388ea78 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h |
@@ -8,6 +8,7 @@ |
#include "core/CoreExport.h" |
#include "core/layout/ng/ng_physical_constraint_space.h" |
#include "core/layout/ng/ng_writing_mode.h" |
+#include "core/layout/ng/ng_units.h" |
#include "platform/LayoutUnit.h" |
#include "platform/heap/Handle.h" |
#include "wtf/Vector.h" |
@@ -35,6 +36,8 @@ class CORE_EXPORT NGFragmentBase : public GarbageCollected<NGFragmentBase> { |
LayoutUnit InlineOffset() const; |
LayoutUnit BlockOffset() const; |
+ NGMarginStrut MarginStrut() const; |
+ |
NGPhysicalFragmentBase* PhysicalFragment() const { |
return physical_fragment_; |
}; |