| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index 5bbab20212f3f2bcc23abb424d33777842e1c6ab..db3c3beb68441d732cc9ccfd2f4c5c89a48f06f0 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -800,15 +800,12 @@
|
| void PaintLayer::updateLayerPosition() {
|
| LayoutPoint localPoint;
|
|
|
| - bool didResize = false;
|
| if (layoutObject()->isInline() && layoutObject()->isLayoutInline()) {
|
| LayoutInline* inlineFlow = toLayoutInline(layoutObject());
|
| IntRect lineBox = enclosingIntRect(inlineFlow->linesBoundingBox());
|
| m_size = lineBox.size();
|
| } else if (LayoutBox* box = layoutBox()) {
|
| - IntSize newSize = pixelSnappedIntSize(box->size(), box->location());
|
| - didResize = newSize != m_size;
|
| - m_size = newSize;
|
| + m_size = pixelSnappedIntSize(box->size(), box->location());
|
| localPoint.moveBy(box->topLeftLocation());
|
| }
|
|
|
| @@ -865,9 +862,6 @@
|
| }
|
|
|
| m_location = localPoint;
|
| -
|
| - if (m_scrollableArea && didResize)
|
| - m_scrollableArea->visibleSizeChanged();
|
|
|
| #if DCHECK_IS_ON()
|
| m_needsPositionUpdate = false;
|
|
|