summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/WebKit/Source/platform/scroll/Scrollbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
index 0c539b9..420833e 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
@@ -611,7 +611,7 @@ float Scrollbar::scrollableAreaTargetPos() const
LayoutRect Scrollbar::visualRect() const
{
- return getScrollableArea()->visualRectForScrollbarParts();
+ return m_scrollableArea ? m_scrollableArea->visualRectForScrollbarParts() : LayoutRect();
}
void Scrollbar::setNeedsPaintInvalidation(ScrollbarPart invalidParts)