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

Unified Diff: third_party/WebKit/Source/core/frame/RootFrameViewport.cpp

Issue 1456953003: Revert of Calculate paint invalidation rect for scrollbars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp b/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
index 6bc56742629f03c8eac56ce52cf05704c2ab6741..8c5e302ec8714ccf913bfcd215ec51719d8cf264 100644
--- a/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
@@ -210,9 +210,14 @@
return layoutViewport().shouldPlaceVerticalScrollbarOnLeft();
}
-void RootFrameViewport::scrollControlWasSetNeedsPaintInvalidation()
-{
- layoutViewport().scrollControlWasSetNeedsPaintInvalidation();
+void RootFrameViewport::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
+{
+ layoutViewport().invalidateScrollbarRect(scrollbar, rect);
+}
+
+void RootFrameViewport::invalidateScrollCornerRect(const IntRect& rect)
+{
+ layoutViewport().invalidateScrollCornerRect(rect);
}
GraphicsLayer* RootFrameViewport::layerForContainer() const

Powered by Google App Engine
This is Rietveld 408576698