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

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