| Index: Source/core/page/AutoscrollController.cpp
|
| diff --git a/Source/core/page/AutoscrollController.cpp b/Source/core/page/AutoscrollController.cpp
|
| index 303983b5e9289c6102180909870d9a0308bd92e0..d5126290683dd55b3430a85ba2f502d6df2e1b4d 100644
|
| --- a/Source/core/page/AutoscrollController.cpp
|
| +++ b/Source/core/page/AutoscrollController.cpp
|
| @@ -265,10 +265,10 @@ void AutoscrollController::updatePanScrollState(FrameView* view, const IntPoint&
|
| {
|
| // At the original click location we draw a 4 arrowed icon. Over this icon there won't be any scroll
|
| // So we don't want to change the cursor over this area
|
| - bool east = m_panScrollStartPos.x() < (lastKnownMousePosition.x() - ScrollView::noPanScrollRadius);
|
| - bool west = m_panScrollStartPos.x() > (lastKnownMousePosition.x() + ScrollView::noPanScrollRadius);
|
| - bool north = m_panScrollStartPos.y() > (lastKnownMousePosition.y() + ScrollView::noPanScrollRadius);
|
| - bool south = m_panScrollStartPos.y() < (lastKnownMousePosition.y() - ScrollView::noPanScrollRadius);
|
| + bool east = m_panScrollStartPos.x() < (lastKnownMousePosition.x() - FrameView::noPanScrollRadius);
|
| + bool west = m_panScrollStartPos.x() > (lastKnownMousePosition.x() + FrameView::noPanScrollRadius);
|
| + bool north = m_panScrollStartPos.y() > (lastKnownMousePosition.y() + FrameView::noPanScrollRadius);
|
| + bool south = m_panScrollStartPos.y() < (lastKnownMousePosition.y() - FrameView::noPanScrollRadius);
|
|
|
| if (m_autoscrollType == AutoscrollForPan && (east || west || north || south))
|
| m_autoscrollType = AutoscrollForPanCanStop;
|
|
|