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

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

Issue 2266313002: [layoutng] Create a more correct constraint space for children (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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_constraint_space.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
index 28be146e47020bdb6be8d2414b55ece8ba5744df..3ac0d928ab94ab4027c113d398982135d2b2cc03 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
@@ -53,6 +53,10 @@ class CORE_EXPORT NGConstraintSpace {
NGConstraintSpace(NGLogicalSize container_size);
virtual ~NGConstraintSpace() {}
+ // Constructs a new constraint base based on an old one with a new size but
ikilpatrick 2016/08/23 00:49:04 s/base/space
cbiesinger 2016/08/23 01:06:55 Done.
+ // the same exclusions.
+ NGConstraintSpace(const NGConstraintSpace&, NGLogicalSize container_size);
+
// Constructs Layout NG constraint space from legacy layout object.
static NGConstraintSpace fromLayoutObject(const LayoutBox&);

Powered by Google App Engine
This is Rietveld 408576698