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 b1f8d45c4c5f533aa58010c4cefa2702f779ba96..7bbdf34741a742d93129fe886c0f4ebb276e3cca 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc |
@@ -41,6 +41,11 @@ NGLogicalOffset NGFragment::Offset() const { |
return NGLogicalOffset(InlineOffset(), BlockOffset()); |
} |
+NGBorderEdges::Logical NGFragment::BorderEdges() const { |
+ return NGBorderEdges::ToLogical(physical_fragment_->BorderEdges(), |
+ WritingMode()); |
+} |
+ |
NGPhysicalFragment::NGFragmentType NGFragment::Type() const { |
return physical_fragment_->Type(); |
} |