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

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

Issue 2299823002: [LayoutNG] Merge NGDerivedConstraintSpace into NGConstraintSpace (Closed)
Patch Set: Fix copy constructors 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/layout_ng_block_flow.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
index d272fad3714346390d9ade61df62ae9e770d0694..f265f8008c875302bf8e8d53dbd393e3ee247552 100644
--- a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
+++ b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#include "core/layout/ng/layout_ng_block_flow.h"
-#include "core/layout/ng/ng_derived_constraint_space.h"
+#include "core/layout/ng/ng_constraint_space.h"
#include "core/layout/ng/ng_block_layout_algorithm.h"
#include "core/layout/ng/ng_fragment.h"
#include "core/layout/LayoutAnalyzer.h"
@@ -21,7 +21,7 @@ void LayoutNGBlockFlow::layoutBlock(bool relayoutChildren) {
LayoutAnalyzer::BlockScope analyzer(*this);
const auto* constraint_space =
- NGDerivedConstraintSpace::CreateFromLayoutObject(*this);
+ NGConstraintSpace::CreateFromLayoutObject(*this);
NGBox* box = new NGBox(this);
NGFragment* fragment;
while (!box->Layout(constraint_space, &fragment))

Powered by Google App Engine
This is Rietveld 408576698