Index: third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc |
index 44a104f7bce4447ea2305d974085543cee4e9f03..177761085dccd14c4f558de200461ef8057747a2 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc |
@@ -6,8 +6,8 @@ |
#include "core/layout/ng/ng_constraint_space.h" |
#include "core/layout/ng/ng_constraint_space_builder.h" |
-#include "core/layout/ng/ng_fragment_base.h" |
#include "core/style/ComputedStyle.h" |
+#include "core/layout/ng/ng_fragment.h" |
#include "platform/LayoutUnit.h" |
#include "platform/Length.h" |
#include "wtf/Optional.h" |
@@ -390,7 +390,7 @@ NGBoxStrut ComputePadding(const NGConstraintSpace& constraint_space, |
void ApplyAutoMargins(const NGConstraintSpace& constraint_space, |
const ComputedStyle& style, |
- const NGFragmentBase& fragment, |
+ const NGFragment& fragment, |
NGBoxStrut* margins) { |
DCHECK(margins) << "Margins cannot be NULL here"; |
const LayoutUnit used_space = fragment.InlineSize() + margins->InlineSum(); |