Index: Source/core/page/scrolling/ScrollingCoordinator.cpp |
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
index 1e8df3c7b2955f0e3de34d5cf55ccf66a57f036f..29d32e62a55265d45a37ec489e66b16bfcfbab65 100644 |
--- a/Source/core/page/scrolling/ScrollingCoordinator.cpp |
+++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
@@ -346,9 +346,7 @@ void ScrollingCoordinator::scrollableAreaScrollbarLayerDidChange(ScrollableArea* |
// Root layer non-overlay scrollbars should be marked opaque to disable |
// blending. |
bool isOpaqueScrollbar = !scrollbar->isOverlayScrollbar(); |
- if (!scrollbarGraphicsLayer->contentsOpaque()) |
- scrollbarGraphicsLayer->setContentsOpaque(isMainFrame && isOpaqueScrollbar); |
- scrollbarLayer->layer()->setOpaque(scrollbarGraphicsLayer->contentsOpaque()); |
+ scrollbarGraphicsLayer->setContentsOpaque(isMainFrame && isOpaqueScrollbar); |
WebLayer* scrollLayer = toWebLayer(scrollableArea->layerForScrolling()); |
WebLayer* containerLayer = toWebLayer(scrollableArea->layerForContainer()); |