Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp |
index 45c1d47b252270283f021038985533db4ad76a8d..0c1ef12f7397147717857a10c601f1ed8181b498 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp |
@@ -213,14 +213,16 @@ IntRect ScrollbarThemeAura::trackRect(const ScrollbarThemeClient& scrollbar, |
int ScrollbarThemeAura::minimumThumbLength( |
const ScrollbarThemeClient& scrollbar) { |
if (scrollbar.orientation() == VerticalScrollbar) { |
- IntSize size = Platform::current()->themeEngine()->getSize( |
- WebThemeEngine::PartScrollbarVerticalThumb); |
- return size.height(); |
+ return Platform::current() |
+ ->themeEngine() |
+ ->getSize(WebThemeEngine::PartScrollbarVerticalThumb) |
+ .height; |
} |
- IntSize size = Platform::current()->themeEngine()->getSize( |
- WebThemeEngine::PartScrollbarHorizontalThumb); |
- return size.width(); |
+ return Platform::current() |
+ ->themeEngine() |
+ ->getSize(WebThemeEngine::PartScrollbarHorizontalThumb) |
+ .width; |
} |
void ScrollbarThemeAura::paintTrackBackground(GraphicsContext& context, |