Chromium Code Reviews| Index: Source/core/html/shadow/SliderThumbElement.cpp |
| diff --git a/Source/core/html/shadow/SliderThumbElement.cpp b/Source/core/html/shadow/SliderThumbElement.cpp |
| index 093f36cc057f5f825545647822edcc3d8cd039a1..ada6d067ec547e96ee8644ab403841445f86faa6 100644 |
| --- a/Source/core/html/shadow/SliderThumbElement.cpp |
| +++ b/Source/core/html/shadow/SliderThumbElement.cpp |
| @@ -128,11 +128,18 @@ void RenderSliderContainer::computeLogicalHeight(LayoutUnit logicalHeight, Layou |
| if (zoomFactor != 1.0) |
| trackHeight *= zoomFactor; |
| + // FIXME: This height should have been added in before we got here to avoid this hack. |
|
ojan
2014/04/17 20:01:33
These comments are not totally clear to me. I thin
|
| + updateIntrinsicContentLogicalHeight(trackHeight); |
| + |
| RenderBox::computeLogicalHeight(trackHeight, logicalTop, computedValues); |
| return; |
| } |
| if (isVertical) |
| logicalHeight = RenderSlider::defaultTrackLength; |
| + |
| + // FIXME: This height should have been added in before we got here to avoid this hack. |
| + updateIntrinsicContentLogicalHeight(logicalHeight); |
| + |
| RenderBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues); |
| } |