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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h

Issue 2462153002: [layoutng] Support computing min-content and max-content (Closed)
Patch Set: Created 4 years, 1 month 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_physical_fragment_base.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h
index 75a22999a6f60aef1ab500f3bbc4ab3947f4b8dc..ab7fb9bfc165768fcf229ba5be7ffdf5148a2301 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h
@@ -38,6 +38,7 @@ class CORE_EXPORT NGPhysicalFragmentBase
LayoutUnit Height() const { return size_.height; }
// Returns the total size, including the contents outside of the border-box.
+ NGPhysicalSize OverflowSize() { return overflow_; }
Gleb Lanbin 2016/10/31 19:52:47 shouldn't a getter function name for variable have
cbiesinger 2016/11/01 19:10:04 It turns out I no longer need this function, so I
LayoutUnit WidthOverflow() const { return overflow_.width; }
LayoutUnit HeightOverflow() const { return overflow_.height; }

Powered by Google App Engine
This is Rietveld 408576698