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

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

Issue 2283233002: [LayoutNG] Construct ConstraintSpace form Physical (Closed)
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_physical_constraint_space.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
index dbb82c2d9e360550af535a1014f66bf4a5962612..4172fe64f40f632c65c262ded322899f1cbe0135 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
@@ -9,6 +9,16 @@
namespace blink {
+NGPhysicalConstraintSpace::NGPhysicalConstraintSpace(
+ NGPhysicalSize container_size)
+ : container_size_(container_size),
+ fixed_width_(0),
+ fixed_height_(0),
+ width_direction_triggers_scrollbar_(0),
+ height_direction_triggers_scrollbar_(0),
+ width_direction_fragmentation_type_(FragmentNone),
+ height_direction_fragmentation_type_(FragmentNone) {}
+
NGPhysicalConstraintSpace::NGPhysicalConstraintSpace()
: fixed_width_(0),
fixed_height_(0),

Powered by Google App Engine
This is Rietveld 408576698