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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.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/platform/graphics/GraphicsLayerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
index 756bf7d0678040c6aaa513ecdb99027f911efa9b..e8700d15ccb3eae69863ac23660bc0799669695e 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
@@ -199,8 +199,7 @@ public:
IntSize contentsSize() const override { return IntSize(100, 100); }
bool scrollbarsCanBeActive() const override { return false; }
IntRect scrollableAreaBoundingBox() const override { return IntRect(); }
- void invalidateScrollbarRect(Scrollbar*, const IntRect&) override { }
- void invalidateScrollCornerRect(const IntRect&) override { }
+ void scrollControlWasSetNeedsPaintInvalidation() override { }
bool userInputScrollable(ScrollbarOrientation) const override { return true; }
bool shouldPlaceVerticalScrollbarOnLeft() const override { return false; }
int pageStep(ScrollbarOrientation) const override { return 0; }

Powered by Google App Engine
This is Rietveld 408576698