Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1841)

Unified Diff: Source/platform/scroll/ScrollView.cpp

Issue 306413002: Rename Repaint to Paint Invalidation Part 2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/scroll/ScrollView.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/platform/scroll/ScrollView.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698