| Index: sky/engine/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/sky/engine/core/page/scrolling/ScrollingCoordinator.cpp b/sky/engine/core/page/scrolling/ScrollingCoordinator.cpp
|
| index f8e3761dd8f45c2f97d8adc1614890d215867708..ce8a1adfaedfc7e863bda214e718a28782d796e0 100644
|
| --- a/sky/engine/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/sky/engine/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -218,10 +218,6 @@ void ScrollingCoordinator::scrollableAreaScrollbarLayerDidChange(ScrollableArea*
|
|
|
| if (scrollbarGraphicsLayer) {
|
| Scrollbar* scrollbar = orientation == HorizontalScrollbar ? scrollableArea->horizontalScrollbar() : scrollableArea->verticalScrollbar();
|
| - if (scrollbar->isCustomScrollbar()) {
|
| - detachScrollbarLayer(scrollbarGraphicsLayer);
|
| - return;
|
| - }
|
|
|
| WebScrollbarLayer* scrollbarLayer = getWebScrollbarLayer(scrollableArea, orientation);
|
| if (!scrollbarLayer) {
|
| @@ -230,7 +226,7 @@ void ScrollingCoordinator::scrollableAreaScrollbarLayerDidChange(ScrollableArea*
|
| OwnPtr<WebScrollbarLayer> webScrollbarLayer;
|
| if (settings->useSolidColorScrollbars()) {
|
| ASSERT(RuntimeEnabledFeatures::overlayScrollbarsEnabled());
|
| - webScrollbarLayer = createSolidColorScrollbarLayer(orientation, scrollbar->theme()->thumbThickness(), scrollbar->theme()->trackPosition(), scrollableArea->shouldPlaceVerticalScrollbarOnLeft());
|
| + webScrollbarLayer = createSolidColorScrollbarLayer(orientation, scrollbar->thumbThickness(), scrollbar->trackPosition(), scrollableArea->shouldPlaceVerticalScrollbarOnLeft());
|
| } else {
|
| webScrollbarLayer = createScrollbarLayer(scrollbar);
|
| }
|
|
|