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

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

Issue 2764753007: [LayoutNG] Add NGLineBoxFragment (Closed)
Patch Set: Rebase again as other CLs landed faster Created 3 years, 9 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 a8081f2f5f24c5e22cc868b25882210ea28e020c..8bfc830003c5cb5229140dae0ededa6c67e0dea8 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment.cc
@@ -16,18 +16,6 @@ LayoutUnit NGFragment::BlockSize() const {
: physical_fragment_->Width();
}
-LayoutUnit NGFragment::InlineOverflow() const {
- return writing_mode_ == kHorizontalTopBottom
- ? physical_fragment_->WidthOverflow()
- : physical_fragment_->HeightOverflow();
-}
-
-LayoutUnit NGFragment::BlockOverflow() const {
- return writing_mode_ == kHorizontalTopBottom
- ? physical_fragment_->HeightOverflow()
- : physical_fragment_->WidthOverflow();
-}
-
LayoutUnit NGFragment::InlineOffset() const {
return writing_mode_ == kHorizontalTopBottom
? physical_fragment_->LeftOffset()
« 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