Fix crash on fast consecutive item moves in the Windows app list.
commit67d85fbdeb15dad921ec9773320a4059c72f78e0
authorcalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 9 May 2014 13:19:04 +0000 (9 13:19 +0000)
committercalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 9 May 2014 13:19:04 +0000 (9 13:19 +0000)
tree14e270bdeb1c591c72e0e6faec12e4a7c128abb2
parentb129efcc8fabebb3f29f07825ecb8f5cd44207fa
Fix crash on fast consecutive item moves in the Windows app list.

This CL fixes an issue where view hierarchy changes in the app list
would invalidate the drag view in the middle of processing a drag update.
This would cause a crash. In order to fix this, check that the drag view
is still valid after the view hierarchy changes.

BUG=371212

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269259 0039d316-1c4b-4281-b951-d872f2087c98
ui/app_list/views/apps_grid_view.cc