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

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

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Addressed sadrul@'s feedback Created 3 years, 10 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/exported/WebScrollbarThemePainter.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp b/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
index 0f9a326966d4e4eed78126f52bcb4923425b847f..7dce90e628cf7f327c2065078ac18fdf7472926d 100644
--- a/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
@@ -167,4 +167,8 @@ bool WebScrollbarThemePainter::thumbNeedsRepaint() const {
return m_scrollbar->thumbNeedsRepaint();
}
+bool WebScrollbarThemePainter::usesNinePatchThumbResource() const {
+ return m_theme->usesNinePatchThumbResource();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698