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

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

Issue 2910133002: [LayoutNG] Handle empty inlines and border edges (Closed)
Patch Set: Rebase 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_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 7bbdf34741a742d93129fe886c0f4ebb276e3cca..5dc1dcb25c493753346b817e6884352d65d8d119 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc
@@ -41,9 +41,9 @@ NGLogicalOffset NGFragment::Offset() const {
return NGLogicalOffset(InlineOffset(), BlockOffset());
}
-NGBorderEdges::Logical NGFragment::BorderEdges() const {
- return NGBorderEdges::ToLogical(physical_fragment_->BorderEdges(),
- WritingMode());
+NGBorderEdges NGFragment::BorderEdges() const {
+ return NGBorderEdges::FromPhysical(physical_fragment_->BorderEdges(),
+ WritingMode());
}
NGPhysicalFragment::NGFragmentType NGFragment::Type() const {
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_fragment.h ('k') | third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698