Index: Source/platform/scroll/ScrollView.cpp |
diff --git a/Source/platform/scroll/ScrollView.cpp b/Source/platform/scroll/ScrollView.cpp |
index 12c7d974106dbb2fff98c5776cc851f42525dcfc..3fae4b88bd6c0d395032038a997daa85c4081fa2 100644 |
--- a/Source/platform/scroll/ScrollView.cpp |
+++ b/Source/platform/scroll/ScrollView.cpp |
@@ -766,10 +766,10 @@ bool ScrollView::shouldPlaceVerticalScrollbarOnLeft() const |
return false; |
} |
-void ScrollView::repaintContentRectangle(const IntRect& rect) |
+void ScrollView::contentRectangleForPaintInvalidation(const IntRect& rect) |
{ |
IntRect paintRect = rect; |
- if (clipsRepaints() && !paintsEntireContents()) |
+ if (clipsPaintInvalidations() && !paintsEntireContents()) |
paintRect.intersect(visibleContentRect()); |
if (paintRect.isEmpty()) |
return; |