Files
bsdports/gnome/libwebkit-gtk2/files/__patch-CVE-2014-1748
2019-12-26 07:26:06 +00:00

11 lines
530 B
Plaintext

--- ./Source/WebCore/platform/ScrollView.cpp.orig 2016-01-05 21:53:38.202759000 +0100
+++ ./Source/WebCore/platform/ScrollView.cpp 2016-01-05 21:55:50.429266000 +0100
@@ -1177,6 +1177,7 @@ void ScrollView::paint(GraphicsContext*
scrollViewDirtyRect.intersect(visibleAreaWithScrollbars);
context->translate(x(), y());
scrollViewDirtyRect.moveBy(-location());
+ context->clip(IntRect(IntPoint(), visibleAreaWithScrollbars.size()));
paintScrollbars(context, scrollViewDirtyRect);
}