| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| index ba3abb1d3659862d6093f1c0ed478e8b6b7de214..787e482c7748bf02e6f52753bd3a675e4571a292 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -887,17 +887,11 @@ void LayoutBlock::updateScrollInfoAfterLayout()
|
| }
|
|
|
| if (gDelayUpdateScrollInfo) {
|
| - LayoutUnit logicalWidthExcludingScrollbar = logicalWidth() - scrollbarLogicalWidth();
|
| - LayoutUnit logicalHeightExcludingScrollbar = logicalHeight() - scrollbarLogicalHeight();
|
| ScrollInfo scrollInfo;
|
| layer()->scrollableArea()->updateScrollDimensions(scrollInfo.scrollOffset, scrollInfo.autoHorizontalScrollBarChanged, scrollInfo.autoVerticalScrollBarChanged);
|
| DelayedUpdateScrollInfoMap::AddResult scrollInfoIterator = gDelayedUpdateScrollInfoMap->add(this, scrollInfo);
|
| if (!scrollInfoIterator.isNewEntry)
|
| scrollInfoIterator.storedValue->value.merge(scrollInfo);
|
| - if (scrollInfo.autoHorizontalScrollBarChanged)
|
| - setLogicalHeight(logicalHeightExcludingScrollbar + scrollbarLogicalHeight());
|
| - if (scrollInfo.autoVerticalScrollBarChanged)
|
| - setLogicalWidth(logicalWidthExcludingScrollbar + scrollbarLogicalWidth());
|
| } else {
|
| layer()->scrollableArea()->updateAfterLayout();
|
| }
|
|
|