Index: Source/core/rendering/RenderGrid.cpp |
diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp |
index 0f5c1b684c9ff5ca5411928a447295ab000b7ff4..9b2fa9009d02e02da0050114200def5b1da764a3 100644 |
--- a/Source/core/rendering/RenderGrid.cpp |
+++ b/Source/core/rendering/RenderGrid.cpp |
@@ -388,7 +388,9 @@ void RenderGrid::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo |
minLogicalWidth += minTrackBreadth; |
maxLogicalWidth += maxTrackBreadth; |
- // FIXME: This should add in the scrollbarWidth (e.g. see RenderFlexibleBox). |
+ LayoutUnit scrollbarWidth = intrinsicScrollbarLogicalWidth(); |
+ maxLogicalWidth += scrollbarWidth; |
+ minLogicalWidth += scrollbarWidth; |
} |
} |