| Index: Source/platform/scroll/ScrollView.cpp
|
| diff --git a/Source/platform/scroll/ScrollView.cpp b/Source/platform/scroll/ScrollView.cpp
|
| index 9dc921add079e4779ccfd1076cce692a013cd651..9dc762c1aa540cc5745b7c6cbb6adc1377e7eff8 100644
|
| --- a/Source/platform/scroll/ScrollView.cpp
|
| +++ b/Source/platform/scroll/ScrollView.cpp
|
| @@ -536,12 +536,9 @@ void ScrollView::scrollContents(const IntSize& scrollDelta)
|
| if (!window)
|
| return;
|
|
|
| - // Since scrolling is double buffered, we will be blitting the scroll view's intersection
|
| - // with the clip rect every time to keep it smooth.
|
| IntRect clipRect = windowClipRect();
|
| - IntRect scrollViewRect = rectToCopyOnScroll();
|
| IntRect updateRect = clipRect;
|
| - updateRect.intersect(scrollViewRect);
|
| + updateRect.intersect(rectToCopyOnScroll());
|
|
|
| if (m_drawPanScrollIcon) {
|
| // FIXME: the pan icon is broken when accelerated compositing is on, since it will draw under the compositing layers.
|
| @@ -553,7 +550,7 @@ void ScrollView::scrollContents(const IntSize& scrollDelta)
|
| window->invalidateContentsAndRootView(panScrollIconDirtyRect);
|
| }
|
|
|
| - if (!scrollContentsFastPath(-scrollDelta, scrollViewRect))
|
| + if (!scrollContentsFastPath(-scrollDelta))
|
| scrollContentsSlowPath(updateRect);
|
|
|
| // Invalidate the overhang areas if they are visible.
|
| @@ -563,7 +560,7 @@ void ScrollView::scrollContents(const IntSize& scrollDelta)
|
| frameRectsChanged();
|
| }
|
|
|
| -bool ScrollView::scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll)
|
| +bool ScrollView::scrollContentsFastPath(const IntSize& scrollDelta)
|
| {
|
| hostWindow()->scroll();
|
| return true;
|
|
|