| Index: Source/core/rendering/RenderLayerScrollableArea.cpp
|
| diff --git a/Source/core/rendering/RenderLayerScrollableArea.cpp b/Source/core/rendering/RenderLayerScrollableArea.cpp
|
| index d1caf1c5b142e0f294191bb5b73165c4550aae8f..9992af97062151636c65677b642c29eb91c7b008 100644
|
| --- a/Source/core/rendering/RenderLayerScrollableArea.cpp
|
| +++ b/Source/core/rendering/RenderLayerScrollableArea.cpp
|
| @@ -402,15 +402,8 @@ void RenderLayerScrollableArea::setScrollOffset(const IntPoint& newScrollOffset)
|
| }
|
|
|
| // Just schedule a full paint invalidation of our object.
|
| - if (requiresPaintInvalidation) {
|
| - // For querying RenderLayer::compositingState()
|
| - // This code appears correct, since scrolling outside of layout happens during activities that do not dirty compositing state.
|
| - DisableCompositingQueryAsserts disabler;
|
| - if (box().frameView()->isInPerformLayout())
|
| - box().setShouldDoFullPaintInvalidation(true);
|
| - else
|
| - box().invalidatePaintUsingContainer(paintInvalidationContainer, layer()->renderer()->previousPaintInvalidationRect(), InvalidationScroll);
|
| - }
|
| + if (requiresPaintInvalidation)
|
| + box().setShouldDoFullPaintInvalidation(true);
|
|
|
| // Schedule the scroll DOM event.
|
| if (box().node())
|
|
|