| 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 8588a9ee471d14759253cfbc14b99f30e791445d..31ab806652553d3f1d84a9b29da1f42bbb223570 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -777,26 +777,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.
|
|
|