| Index: Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| ===================================================================
|
| --- Source/core/page/scrolling/ScrollingCoordinator.cpp (revision 155951)
|
| +++ Source/core/page/scrolling/ScrollingCoordinator.cpp (working copy)
|
| @@ -281,10 +281,16 @@
|
| webLayer->setScrollPosition(IntPoint(scrollableArea->scrollPosition() - scrollableArea->minimumScrollPosition()));
|
| webLayer->setMaxScrollPosition(IntSize(scrollableArea->scrollSize(HorizontalScrollbar), scrollableArea->scrollSize(VerticalScrollbar)));
|
| }
|
| - if (WebScrollbarLayer* scrollbarLayer = getWebScrollbarLayer(scrollableArea, HorizontalScrollbar))
|
| - setupScrollbarLayer(horizontalScrollbarLayerForScrollableArea(scrollableArea), scrollbarLayer, webLayer);
|
| - if (WebScrollbarLayer* scrollbarLayer = getWebScrollbarLayer(scrollableArea, VerticalScrollbar))
|
| - setupScrollbarLayer(verticalScrollbarLayerForScrollableArea(scrollableArea), scrollbarLayer, webLayer);
|
| + if (WebScrollbarLayer* scrollbarLayer = getWebScrollbarLayer(scrollableArea, HorizontalScrollbar)) {
|
| + GraphicsLayer* horizontalScrollbarLayer = horizontalScrollbarLayerForScrollableArea(scrollableArea);
|
| + if (horizontalScrollbarLayer)
|
| + setupScrollbarLayer(horizontalScrollbarLayer, scrollbarLayer, webLayer);
|
| + }
|
| + if (WebScrollbarLayer* scrollbarLayer = getWebScrollbarLayer(scrollableArea, VerticalScrollbar)) {
|
| + GraphicsLayer* verticalScrollbarLayer = verticalScrollbarLayerForScrollableArea(scrollableArea);
|
| + if (verticalScrollbarLayer)
|
| + setupScrollbarLayer(verticalScrollbarLayer, scrollbarLayer, webLayer);
|
| + }
|
| }
|
|
|
| void ScrollingCoordinator::setTouchEventTargetRects(const Vector<IntRect>& absoluteHitTestRects)
|
|
|