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

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

Issue 2930963002: [LayoutNG] Refactor of NGLineBreaker. (Closed)
Patch Set: rebase Created 3 years, 6 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.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
index 119b9a4121bab9cb1885d4d38448524bf799f9c0..ae3eb0644134baa052ccada51abe33b0c8a858af 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
@@ -11,7 +11,6 @@
#include "core/layout/ng/geometry/ng_margin_strut.h"
#include "core/layout/ng/geometry/ng_physical_size.h"
#include "core/layout/ng/ng_exclusion.h"
-#include "core/layout/ng/ng_layout_opportunity_iterator.h"
#include "core/layout/ng/ng_unpositioned_float.h"
#include "core/layout/ng/ng_writing_mode.h"
#include "platform/heap/Handle.h"
@@ -109,12 +108,6 @@ class CORE_EXPORT NGConstraintSpace final
// blockSize if possible.
NGFragmentationType BlockFragmentationType() const;
- // Returns a pointer to already existing Layout Opportunity iterator
- // associated with this constraint space and {@code iter_offset} or creates a
- // new one.
- NGLayoutOpportunityIterator* LayoutOpportunityIterator(
- const NGLogicalOffset& iter_offset);
-
// Return true if this contraint space participates in a fragmentation
// context.
bool HasBlockFragmentation() const {
@@ -194,7 +187,6 @@ class CORE_EXPORT NGConstraintSpace final
NGLogicalOffset bfc_offset_;
const std::shared_ptr<NGExclusions> exclusions_;
WTF::Optional<LayoutUnit> clearance_offset_;
- std::unique_ptr<NGLayoutOpportunityIterator> layout_opp_iter_;
Vector<RefPtr<NGUnpositionedFloat>> unpositioned_floats_;
};

Powered by Google App Engine
This is Rietveld 408576698