Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
| index ebe400f573dabc4f76ab52aa00f487e94387c851..ad71c1d49dff4bbe08fd965248f64ae7acd774a3 100644 |
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
| @@ -1258,8 +1258,7 @@ void CompositedLayerMapping::updateScrollingLayerGeometry( |
| IntSize scrollSize(layoutBox->pixelSnappedScrollWidth(), |
| layoutBox->pixelSnappedScrollHeight()); |
| - if (scrollSize != m_scrollingContentsLayer->size() || |
|
chrishtr
2016/11/17 20:42:36
Why this change?
Xianzhu
2016/11/17 23:36:41
This fully invalidated the scrolling contents laye
|
| - overflowClipRectOffsetChanged) |
| + if (overflowClipRectOffsetChanged) |
| m_scrollingContentsLayer->setNeedsDisplay(); |
| DoubleSize scrollingContentsOffset( |