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

Unified Diff: third_party/WebKit/WebCore/platform/chromium/ScrollbarThemeChromium.cpp

Issue 27194: Lands the patch for WebKit bug 24171 locally, and rebaselines the necessary l... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/rendering/RenderListBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/platform/chromium/ScrollbarThemeChromium.cpp
===================================================================
--- third_party/WebKit/WebCore/platform/chromium/ScrollbarThemeChromium.cpp (revision 10396)
+++ third_party/WebKit/WebCore/platform/chromium/ScrollbarThemeChromium.cpp (working copy)
@@ -96,7 +96,7 @@
IntRect ScrollbarThemeChromium::trackRect(Scrollbar* scrollbar, bool)
{
IntSize bs = buttonSize(scrollbar);
- int thickness = scrollbarThickness();
+ int thickness = scrollbarThickness(scrollbar->controlSize());
if (scrollbar->orientation() == HorizontalScrollbar) {
if (scrollbar->width() < 2 * thickness)
return IntRect();
@@ -173,7 +173,7 @@
// times thickness pixels left. This allows the scrollbar to scale down
// and function even at tiny sizes.
- int thickness = scrollbarThickness();
+ int thickness = scrollbarThickness(scrollbar->controlSize());
#if !defined(__linux__)
// In layout test mode, we force the button "girth" (i.e., the length of
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/rendering/RenderListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698