Index: third_party/WebKit/Source/core/layout/ng/ng_fragment.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc |
index 6c5cdbd5b51040294b9c17d231aab4a1daf5d3d7..ca9dcb63a722bd2fbd1c173c590286b3d543cbe3 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc |
@@ -4,15 +4,14 @@ |
#include "core/layout/ng/ng_fragment.h" |
-#include "core/layout/ng/ng_macros.h" |
#include "core/layout/ng/ng_physical_fragment.h" |
namespace blink { |
NGMarginStrut NGFragment::MarginStrut() const { |
- WRITING_MODE_IGNORED( |
- "Accessing the margin strut ignoring the writing mode here is fine." |
- "A margin strut is never set for a fragment"); |
+ // NOTE: Accessing the margin strut ignoring the writing mode here is fine. |
+ // 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(); |
} |