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

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

Issue 2739683006: Use Opportunity Iterator to position text fragments in NGLineBuilder (Closed)
Patch Set: add font-family Created 3 years, 9 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 9fdb2b09094a4c5a52605261b61d81ae08bbf86e..a3e36d4a51a60a12e5d4107123e3fe189dee9d7d 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
@@ -108,7 +108,11 @@ class CORE_EXPORT NGConstraintSpace final
// blockSize if possible.
NGFragmentationType BlockFragmentationType() const;
- NGLayoutOpportunityIterator* LayoutOpportunityIterator();
+ // 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.

Powered by Google App Engine
This is Rietveld 408576698