RESOLVED FIXED 54952
Cleaning: remove a overzealous check for the pointer "files" from Chrome::setToolTip()
https://bugs.webkit.org/show_bug.cgi?id=54952
Summary Cleaning: remove a overzealous check for the pointer "files" from Chrome::set...
Benjamin Poulain
Reported 2011-02-22 06:18:44 PST
In the following code if (input->isFileUpload()) { FileList* files = input->files(); unsigned listSize = files->length(); if (files && listSize > 1) { The pointer "files" always exists if isFileUpload(). Moreover, the check is done after deferencing the pointer anyway. Fix that :)
Attachments
Patch (1.55 KB, patch)
2011-02-22 06:22 PST, Benjamin Poulain
no flags
Benjamin Poulain
Comment 1 2011-02-22 06:22:19 PST
WebKit Commit Bot
Comment 2 2011-02-22 06:50:07 PST
Comment on attachment 83305 [details] Patch Clearing flags on attachment: 83305 Committed r79317: <http://trac.webkit.org/changeset/79317>
WebKit Commit Bot
Comment 3 2011-02-22 06:50:12 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.