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

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

Issue 2438313003: [LayoutNG] Remove derived constraint spaces from opportunity iterator. (Closed)
Patch Set: address comments. Created 4 years, 2 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 0f647bbb3eab231959b6fa7577c2aadd8ac16670..0ef199af7c946f75d61c022c37f6315f0eafe698 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
@@ -28,15 +28,6 @@ NGConstraintSpace::NGConstraintSpace(NGWritingMode writing_mode,
writing_mode_(writing_mode),
direction_(direction) {}
-NGConstraintSpace::NGConstraintSpace(const NGConstraintSpace& other,
- NGLogicalOffset offset,
- NGLogicalSize size)
- : physical_space_(other.MutablePhysicalSpace()),
- offset_(offset),
- size_(size),
- writing_mode_(other.WritingMode()),
- direction_(other.Direction()) {}
-
NGConstraintSpace::NGConstraintSpace(NGWritingMode writing_mode,
NGDirection direction,
const NGConstraintSpace& other,

Powered by Google App Engine
This is Rietveld 408576698