| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 3524f4d76886fecba87d9725b2c88cfc03c5905c..931177523a1f97a82363f98d47747fa363395e32 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -1588,8 +1588,8 @@ IntPoint FrameView::lastKnownMousePosition() const {
|
| bool FrameView::shouldSetCursor() const {
|
| Page* page = frame().page();
|
| return page && page->visibilityState() != PageVisibilityStateHidden &&
|
| - page->focusController().isActive() &&
|
| - page->settings().deviceSupportsMouse();
|
| + !m_frame->eventHandler().isMousePositionUnknown() &&
|
| + page->focusController().isActive();
|
| }
|
|
|
| void FrameView::scrollContentsIfNeededRecursive() {
|
| @@ -3551,7 +3551,7 @@ AXObjectCache* FrameView::axObjectCache() const {
|
|
|
| void FrameView::setCursor(const Cursor& cursor) {
|
| Page* page = frame().page();
|
| - if (!page || !page->settings().deviceSupportsMouse())
|
| + if (!page || m_frame->eventHandler().isMousePositionUnknown())
|
| return;
|
| page->chromeClient().setCursor(cursor, m_frame);
|
| }
|
|
|