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

Unified Diff: third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp

Issue 1458703010: Mac: Don't repaint scrollbars every frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master2
Patch Set: Rebase and resolve 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/exported/WebScrollbarThemeClientImpl.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp
index b4138bcd0ce4dc33b9adf5f20e341507cb5576db..cc078eb82e856fe098bc2090d406ff59961ff4b5 100644
--- a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp
@@ -234,6 +234,26 @@ void WebScrollbarThemeClientImpl::setElasticOverscroll(float elasticOverscroll)
return m_scrollbar->setElasticOverscroll(elasticOverscroll);
}
+bool WebScrollbarThemeClientImpl::trackNeedsRepaint() const
+{
+ return true;
+}
+
+void WebScrollbarThemeClientImpl::setTrackNeedsRepaint(bool)
+{
+ ASSERT_NOT_REACHED();
+}
+
+bool WebScrollbarThemeClientImpl::thumbNeedsRepaint() const
+{
+ return true;
+}
+
+void WebScrollbarThemeClientImpl::setThumbNeedsRepaint(bool)
+{
+ ASSERT_NOT_REACHED();
+}
+
DisplayItemClient WebScrollbarThemeClientImpl::displayItemClient() const
{
ASSERT_NOT_REACHED();

Powered by Google App Engine
This is Rietveld 408576698