Index: third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc |
index 7c720ec037b2cef4b8c733896e38f4218af70f8f..91664cbbc7928347fb35d61e32dc69a7c9dc0a28 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc |
@@ -71,7 +71,7 @@ void ComputeAbsoluteHorizontal(const NGConstraintSpace& space, |
LayoutUnit static_start; // TODO(atotic) needs to be passed in. |
NGPhysicalSize container_size = |
ikilpatrick
2016/11/21 17:45:49
can you also s/container/available in this file?
|
- space.Size().ConvertToPhysical(space.WritingMode()); |
+ space.AvailableSize().ConvertToPhysical(space.WritingMode()); |
DCHECK(container_size.width != NGSizeIndefinite); |
// Solving the equation: |
@@ -204,7 +204,7 @@ void ComputeAbsoluteVertical(const NGConstraintSpace& space, |
LayoutUnit static_start; // TODO(atotic) needs to be passed in. |
NGPhysicalSize container_size = |
- space.Size().ConvertToPhysical(space.WritingMode()); |
+ space.AvailableSize().ConvertToPhysical(space.WritingMode()); |
DCHECK(container_size.height != NGSizeIndefinite); |
// Solving the equation: |