Fix mouse cursor during drag and drop after HTML 5 pointer lock on Desktop Linux
commit47448ead07db2523f29a55a99a6a1fd0b7a29f2a
authorpkotwicz <pkotwicz@chromium.org>
Fri, 12 Dec 2014 00:12:23 +0000 (11 16:12 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Dec 2014 00:13:31 +0000 (12 00:13 +0000)
treed573cc9839ab3155b7dd7acfc3af3c64fd91d350
parent793b67d94e32c3e140d6eb230b07b406d17b673b
Fix mouse cursor during drag and drop after HTML 5 pointer lock on Desktop Linux

The return value of DesktopNativeCursorManager::GetInitializedCursor() is no
longer valid after DesktopNativeCursorManager::SetDisplay() is called.
This CL ensures that the return value of
DesktopNativeCursorManager::GetInitializedCursor() is not cached.

BUG=440534
TEST=Manual, see bug

Review URL: https://codereview.chromium.org/751063008

Cr-Commit-Position: refs/heads/master@{#308003}
ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc
ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
ui/views/widget/desktop_aura/desktop_native_cursor_manager.h