Index: third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc |
similarity index 67% |
copy from third_party/WebKit/Source/core/layout/ng/ng_fragment.cc |
copy to third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc |
index 9ccb19c283e5d3dcdca3bf3a0ea477a19439d410..40d77d47304912c031e3a123903a1011dfaab840 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc |
@@ -2,19 +2,19 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "core/layout/ng/ng_fragment.h" |
+#include "core/layout/ng/ng_box_fragment.h" |
#include "core/layout/ng/ng_macros.h" |
-#include "core/layout/ng/ng_physical_fragment.h" |
+#include "core/layout/ng/ng_physical_box_fragment.h" |
namespace blink { |
-NGMarginStrut NGFragment::MarginStrut() const { |
+NGMarginStrut NGBoxFragment::MarginStrut() const { |
WRITING_MODE_IGNORED( |
"Accessing the margin strut is fine here. Changing the writing mode" |
"establishes a new formatting context, for which a margin strut is never" |
"set for a fragment."); |
- return toNGPhysicalFragment(physical_fragment_)->MarginStrut(); |
+ return toNGPhysicalBoxFragment(physical_fragment_)->MarginStrut(); |
} |
} // namespace blink |