Index: third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp b/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp |
index 4e9fac14c19829f39bb1666bff5644b226a3c966..a8694a19bf306b7086eedded521e86f0360699e9 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp |
@@ -180,9 +180,9 @@ void LayoutScrollbar::updateScrollbarParts(bool destroy) { |
} |
if (newThickness != oldThickness) { |
- setFrameRect( |
- IntRect(location(), IntSize(isHorizontal ? width() : newThickness, |
- isHorizontal ? newThickness : height()))); |
+ setFrameRect(IntRect(location(), |
+ IntSize(isHorizontal ? width() : newThickness, |
+ isHorizontal ? newThickness : height()))); |
if (LayoutBox* box = styleSource()) { |
if (box->isLayoutBlock()) |
toLayoutBlock(box)->notifyScrollbarThicknessChanged(); |
@@ -315,10 +315,9 @@ IntRect LayoutScrollbar::buttonRect(ScrollbarPart partType) const { |
IntRect followingButton = buttonRect(ForwardButtonEndPart); |
return IntRect( |
- isHorizontal |
- ? x() + width() - followingButton.width() - |
- partLayoutObject->pixelSnappedWidth() |
- : x(), |
+ isHorizontal ? x() + width() - followingButton.width() - |
+ partLayoutObject->pixelSnappedWidth() |
+ : x(), |
isHorizontal ? y() |
: y() + height() - followingButton.height() - |
partLayoutObject->pixelSnappedHeight(), |