summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RenderDialog.cpp')
-rw-r--r--Source/WebCore/rendering/RenderDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/rendering/RenderDialog.cpp b/Source/WebCore/rendering/RenderDialog.cpp
index b2498ae4c..b8f3d1985 100644
--- a/Source/WebCore/rendering/RenderDialog.cpp
+++ b/Source/WebCore/rendering/RenderDialog.cpp
@@ -53,7 +53,7 @@ void RenderDialog::layout()
FrameView* frameView = document()->view();
int scrollTop = frameView->scrollOffset().height();
FloatPoint absolutePoint(0, scrollTop);
- int visibleHeight = frameView->visibleContentRect(true).height();
+ int visibleHeight = frameView->visibleContentRect(ScrollableArea::IncludeScrollbars).height();
if (height() < visibleHeight)
absolutePoint.move(0, (visibleHeight - height()) / 2);
FloatPoint localPoint = containingBlock()->absoluteToLocal(absolutePoint);