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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.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/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index df1fb529343285c916cae67c852015e1d8f153e6..eb0b00295e8bf348b8b6580eba9a624c47ad10b9 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -543,6 +543,12 @@
return frame->view()->visibleContentRect(IncludeScrollbars).size();
}
+void VisualViewport::invalidateScrollbarRect(Scrollbar*, const IntRect&)
+{
+ // Do nothing. Visual scrollbars live on the compositor thread and will
+ // be updated when the viewport is synced to the CC.
+}
+
void VisualViewport::setScrollOffset(const IntPoint& offset, ScrollType scrollType)
{
setScrollOffset(DoublePoint(offset), scrollType);
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.h ('k') | third_party/WebKit/Source/core/layout/LayoutBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698