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

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

Issue 2582913002: Remove obsolete NGConstraintSpace::ChildSpace (Closed)
Patch Set: Created 4 years 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_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_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 52dde27b0a7a8314b1a823a60a65250177c03b04..17b66150cb4766ad7f97c141a835f191edb71c10 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
@@ -102,14 +102,6 @@ NGLayoutOpportunityIterator* NGConstraintSpace::LayoutOpportunities(
return iterator;
}
-NGConstraintSpace* NGConstraintSpace::ChildSpace(
- const ComputedStyle* style) const {
- return NGConstraintSpaceBuilder(this)
- .SetWritingMode(FromPlatformWritingMode(style->getWritingMode()))
- .SetTextDirection(style->direction())
- .ToConstraintSpace();
-}
-
String NGConstraintSpace::ToString() const {
return String::format("%s,%s %sx%s",
offset_.inline_offset.toString().ascii().data(),
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698