| Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| index 1c356515a000fbe6f1ef14f2e71e5212e912f078..9237e04590abe81fc6949bfd8b2280c75224019d 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| @@ -1180,11 +1180,10 @@ bool PaintLayerScrollableArea::hitTestOverflowControls(HitTestResult& result, co
|
|
|
| int resizeControlSize = max(resizeControlRect.height(), 0);
|
| if (hasVerticalScrollbar() && verticalScrollbar()->shouldParticipateInHitTesting()) {
|
| - // TODO(crbug.com/638981): Are the conversions to int intentional?
|
| LayoutRect vBarRect(verticalScrollbarStart(0, box().size().width().toInt()),
|
| box().borderTop(),
|
| verticalScrollbar()->width(),
|
| - (box().size().height() - (box().borderTop() + box().borderBottom()) - (hasHorizontalScrollbar() ? horizontalScrollbar()->height() : resizeControlSize)).toInt());
|
| + box().size().height().toInt() - (box().borderTop() + box().borderBottom()) - (hasHorizontalScrollbar() ? horizontalScrollbar()->height() : resizeControlSize));
|
| if (vBarRect.contains(localPoint)) {
|
| result.setScrollbar(verticalScrollbar());
|
| return true;
|
|
|