Index: Source/platform/scroll/ScrollView.cpp |
diff --git a/Source/platform/scroll/ScrollView.cpp b/Source/platform/scroll/ScrollView.cpp |
index eddaabf5e961071a427c836809d6b58d0048e437..145f3fc72e327aca4f9b92d5c70bc732cdc9d5c5 100644 |
--- a/Source/platform/scroll/ScrollView.cpp |
+++ b/Source/platform/scroll/ScrollView.cpp |
@@ -893,6 +893,7 @@ void ScrollView::paint(GraphicsContext* context, const IntRect& rect) |
scrollViewDirtyRect.intersect(visibleAreaWithScrollbars); |
context->translate(x(), y()); |
scrollViewDirtyRect.moveBy(-location()); |
+ context->clip(IntRect(IntPoint(), visibleAreaWithScrollbars.size())); |
paintScrollbars(context, scrollViewDirtyRect); |
} |