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

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

Issue 2649583002: [LayoutNG] Remove the ng_layout_coordinator and temporary LayoutSync method. (Closed)
Patch Set: rebase v2 Created 3 years, 11 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_block_layout_algorithm_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
index 0b98fa07e7468b6298d4efadb44e089f005257e5..26b7c64348852f28ae9d45d2720a87cc9e5c0d31 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
@@ -7,7 +7,6 @@
#include "core/layout/ng/ng_block_node.h"
#include "core/layout/ng/ng_constraint_space.h"
#include "core/layout/ng/ng_constraint_space_builder.h"
-#include "core/layout/ng/ng_layout_coordinator.h"
#include "core/layout/ng/ng_length_utils.h"
#include "core/layout/ng/ng_physical_box_fragment.h"
#include "core/layout/ng/ng_physical_fragment.h"
@@ -53,10 +52,7 @@ class NGBlockLayoutAlgorithmTest
NGBlockLayoutAlgorithm algorithm(style_.get(), first_child, space);
- NGPhysicalFragment* fragment;
- NGLayoutAlgorithm* not_used;
- EXPECT_EQ(kNewFragment, algorithm.Layout(nullptr, &fragment, &not_used));
-
+ NGPhysicalFragment* fragment = algorithm.Layout();
return toNGPhysicalBoxFragment(fragment);
}

Powered by Google App Engine
This is Rietveld 408576698