Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1286)

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 2536723007: Removed android scrolling fake mouse moves and device_supports_mouse (Closed)
Patch Set: Made checks mirror what previous logic Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/input/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index 7392c05f87f8539a34af6f555b953bedd4a4c37c..135b221a2972f00f8a26f1171bb1bd651df49d5c 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -361,9 +361,6 @@ void EventHandler::updateCursor() {
// cursor update could be occluded by a different frame.
ASSERT(m_frame == m_frame->localFrameRoot());
- if (m_mouseEventManager->isMousePositionUnknown())
bokan 2016/12/02 18:04:05 This can still get called after layout and style c
amaralp 2016/12/02 23:00:35 The next if statement already does this check thro
bokan 2016/12/07 00:09:53 Thanks, missed that.
- return;
-
FrameView* view = m_frame->view();
if (!view || !view->shouldSetCursor())
return;

Powered by Google App Engine
This is Rietveld 408576698