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

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

Issue 2286403004: [LayoutNG] Initial NGLayoutOpportunityIterator implementation (Closed)
Patch Set: Fix typo 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
index 4172fe64f40f632c65c262ded322899f1cbe0135..b1229424b91ac783c76ecba5a7f27268ec02e871 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
@@ -45,11 +45,11 @@ void NGPhysicalConstraintSpace::AddExclusion(const NGExclusion,
// TODO(layout-ng): Implement.
}
-DoublyLinkedList<const NGExclusion> NGPhysicalConstraintSpace::Exclusions(
- unsigned options) const {
- DoublyLinkedList<const NGExclusion> exclusions;
- // TODO(layout-ng): Implement.
- return exclusions;
+const DoublyLinkedList<const NGExclusion>*
+NGPhysicalConstraintSpace::Exclusions(unsigned options) const {
+ // TODO(layout-ng): Filter based on options? Perhaps layout Opportunities
+ // should filter instead?
+ return &exclusions_;
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698