Avoids releasing pointer grab prematurely
commitc30087a9ff585bb38f6287856a0d86725d052d03
authorvarkha@chromium.org <varkha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 20 Feb 2014 12:59:45 +0000 (20 12:59 +0000)
committervarkha@chromium.org <varkha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 20 Feb 2014 12:59:45 +0000 (20 12:59 +0000)
tree4873397810654fe08dde5aca604e43ee18be1147
parentb4d7eb8fc343b744d36ebc984b8c61a9f25f6975
Avoids releasing pointer grab prematurely

BUG=338247
TEST=
1.Launch chrome://settings..ctrl+D,save the Bookmark in Bookmark Bar.
2.Open 3 to 4 new Tabs via ctrl+T,in chrome://settings page Drag the Bookmark from the Bookmark Bar.
3.Hover the Dragged Bookmark over the second New-Tab and Release the Bookmark over the New-Tab.
4.Hover the Dragged Bookmark over the third New-Tab (the tab gets activated) and Release the Bookmark over the New-Tab.
5.Close browser - should not crash.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252201 0039d316-1c4b-4281-b951-d872f2087c98
ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc