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

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

Issue 2462413002: Reland of Use NGLogicalRect instead of NGExclusion for exclusions. (Closed)
Patch Set: Created 4 years, 1 month 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 89915b93dd19587c520cb0a75d99501a60d83b05..950dc0d92e22968cbcf5d686a63ee6008165ad51 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
@@ -70,7 +70,9 @@
builder.ToConstraintSpace());
}
-void NGConstraintSpace::AddExclusion(const NGExclusion* exclusion) const {
+void NGConstraintSpace::AddExclusion(const NGLogicalRect& exclusion) const {
+ WRITING_MODE_IGNORED(
+ "Exclusions are stored directly in physical constraint space.");
MutablePhysicalSpace()->AddExclusion(exclusion);
}

Powered by Google App Engine
This is Rietveld 408576698