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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.h

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Try performance 2 Created 4 years, 8 months 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/scroll/Scrollbar.h
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
index 197e691412c311a205b172fe2f6c52e63e6e0f27..f88f8259689a4e607f3a1dd757487f419c1fd2a8 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -220,6 +220,8 @@ protected:
float m_elasticOverscroll;
private:
+ DISPLAY_ITEM_CACHE_STATUS_UNCACHEABLE_IMPLEMENTATION
+
bool isScrollbar() const override { return true; }
void invalidate() override { setNeedsPaintInvalidation(AllParts); }

Powered by Google App Engine
This is Rietveld 408576698