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

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

Issue 2483683003: [LayoutNG] Split apart storage for AvailableSize and PercentageSize. (Closed)
Patch Set: rebase. 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_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 8a176bcb16ac11b91a4d4c3b7b7a0bcf195535ff..c0c848cbca93e13dddfe17aeb2167fa78bdc2500 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
@@ -7,7 +7,8 @@
namespace blink {
NGPhysicalConstraintSpace::NGPhysicalConstraintSpace(
- NGPhysicalSize container_size,
+ NGPhysicalSize available_size,
+ NGPhysicalSize percentage_resolution_size,
bool fixed_width,
bool fixed_height,
bool width_direction_triggers_scrollbar,
@@ -15,7 +16,8 @@ NGPhysicalConstraintSpace::NGPhysicalConstraintSpace(
NGFragmentationType width_direction_fragmentation_type,
NGFragmentationType height_direction_fragmentation_type,
bool is_new_fc)
- : container_size_(container_size),
+ : available_size_(available_size),
+ percentage_resolution_size_(percentage_resolution_size),
fixed_width_(fixed_width),
fixed_height_(fixed_height),
width_direction_triggers_scrollbar_(width_direction_triggers_scrollbar),

Powered by Google App Engine
This is Rietveld 408576698