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

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

Issue 1406133005: 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/RootFrameViewportTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp b/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
index 2b83908d215d878d86053ba68e1849ff8efd7571..cf5dc163530439f3bf3671a116cd3c429f9d02e3 100644
--- a/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
+++ b/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
@@ -89,8 +89,7 @@ protected:
bool scrollbarsCanBeActive() const override { return true; }
IntRect scrollableAreaBoundingBox() const override { return IntRect(); }
bool shouldPlaceVerticalScrollbarOnLeft() const override { return true; }
- void invalidateScrollbarRect(Scrollbar*, const IntRect&) override { }
- void invalidateScrollCornerRect(const IntRect&) override { }
+ void scrollControlWasSetNeedsPaintInvalidation() override { }
GraphicsLayer* layerForContainer() const override { return nullptr; }
GraphicsLayer* layerForScrolling() const override { return nullptr; }
GraphicsLayer* layerForHorizontalScrollbar() const override { return nullptr; }
« no previous file with comments | « third_party/WebKit/Source/core/frame/RootFrameViewport.cpp ('k') | third_party/WebKit/Source/core/frame/VisualViewport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698