diff options
Diffstat (limited to 'third_party/WebKit/Source/platform/scroll')
-rw-r--r-- | third_party/WebKit/Source/platform/scroll/Scrollbar.cpp | 2 |
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) |