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

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

Issue 2515923002: Remove redundant 'derived constraint space' setters from NGConstraintSpace (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_block_layout_algorithm.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
index 0be79a60124f2a4689f8f9ce36211fe82be0290d..cb0df50bf65974e044df96568cd779f53ff57d7b 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
@@ -186,9 +186,6 @@ NGLayoutStatus NGBlockLayoutAlgorithm::Layout(
space_builder_->SetPercentageResolutionSize(
NGLogicalSize(adjusted_inline_size, adjusted_block_size));
- constraint_space_->SetSize(
cbiesinger 2016/11/18 23:44:23 Why is the new code still correct? This was necess
Gleb Lanbin 2016/11/19 04:20:47 ConstraintSpace::Size() was only used in NGLayoutO
cbiesinger 2016/11/19 04:28:47 So I'm confused. I thought this specific SetSize c
- NGLogicalSize(adjusted_inline_size, adjusted_block_size));
-
content_size_ = border_and_padding_.block_start;
builder_ = new NGFragmentBuilder(NGPhysicalFragmentBase::FragmentBox);

Powered by Google App Engine
This is Rietveld 408576698