| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 464aa2775f1b570c3ff8dbf14ec791a4f63b1d77..343862e00addc1d9b5b8e6c3cd81f6884fa33275 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -786,26 +786,6 @@ int LayoutBox::horizontalScrollbarHeight() const
|
| return getScrollableArea()->horizontalScrollbarHeight();
|
| }
|
|
|
| -int LayoutBox::intrinsicScrollbarLogicalWidth() const
|
| -{
|
| - if (!hasOverflowClip())
|
| - return 0;
|
| -
|
| - ASSERT(getScrollableArea());
|
| -
|
| - if (isHorizontalWritingMode() && style()->overflowY() == OverflowScroll) {
|
| - // Even with OverflowScroll, the scrollbar may not exist (crbug.com/415031).
|
| - return getScrollableArea()->hasVerticalScrollbar() ? verticalScrollbarWidth() : 0;
|
| - }
|
| -
|
| - if (!isHorizontalWritingMode() && style()->overflowX() == OverflowScroll) {
|
| - // Even with OverflowScroll, the scrollbar may not exist (crbug.com/415031).
|
| - return getScrollableArea()->hasHorizontalScrollbar() ? horizontalScrollbarHeight() : 0;
|
| - }
|
| -
|
| - return 0;
|
| -}
|
| -
|
| ScrollResult LayoutBox::scroll(ScrollGranularity granularity, const FloatSize& delta)
|
| {
|
| // Presumably the same issue as in setScrollTop. See crbug.com/343132.
|
|
|