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

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

Issue 2664403003: [LayoutNG] Stack allocate NGLayoutOpportunityIterator. (Closed)
Patch Set: rebase 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_constraint_space.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
index bcd642608ef7d6deea5d4833c20e350d942e7ab5..ebd0efb4a722a79d9e7fe6074fbf9ac72a3d2ffd 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
@@ -107,13 +107,6 @@ void NGConstraintSpace::Subtract(const NGBoxFragment*) {
// TODO(layout-ng): Implement.
}
-NGLayoutOpportunityIterator* NGConstraintSpace::LayoutOpportunities(
- const WTF::Optional<NGLogicalOffset>& opt_origin_point) {
- NGLayoutOpportunityIterator* iterator =
- new NGLayoutOpportunityIterator(this, opt_origin_point);
- return iterator;
-}
-
String NGConstraintSpace::ToString() const {
return String::format("Offset: %s,%s Size: %sx%s MarginStrut: %s",
bfc_offset_.inline_offset.toString().ascii().data(),

Powered by Google App Engine
This is Rietveld 408576698