Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc

Issue 2960233002: [LayoutNG] Move bfc_offset_, end_margin_sturt_ to NGLayoutResult (Closed)
Patch Set: OOF -> OutOfFlow Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc
index 1d51f39b02cd6c225133a5d130bbacb7b7d4ba7a..99db6d83e1faeb286bd49a50ad8494be71a007c2 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc
@@ -15,19 +15,4 @@ NGLogicalSize NGBoxFragment::OverflowSize() const {
return physical_fragment->OverflowSize().ConvertToLogical(WritingMode());
}
-const WTF::Optional<NGLogicalOffset>& NGBoxFragment::BfcOffset() const {
- WRITING_MODE_IGNORED(
- "Accessing BFC offset is allowed here because writing"
- "modes are irrelevant in this case.");
- return ToNGPhysicalBoxFragment(physical_fragment_)->BfcOffset();
-}
-
-const NGMarginStrut& NGBoxFragment::EndMarginStrut() 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 ToNGPhysicalBoxFragment(physical_fragment_)->EndMarginStrut();
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_box_fragment.h ('k') | third_party/WebKit/Source/core/layout/ng/ng_fragment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698