Handle the case when the last selection is not set yet.
When a user starts to drag an item before they haven't selected any item yet, FileTable.lastSelection_ can be undefined and this ends up an incorrect drag image. The existence of lastSelection_ should be checked. BUG=409514 TEST=manually Review URL: https://codereview.chromium.org/532453002 Cr-Commit-Position: refs/heads/master@{#292845}
Showing
Please register or sign in to comment