Bug 1724706 - Remove Obsolete comment in HTMLInputElement::AfterSetFilesOrDirectories.r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D132394
This commit is contained in:
championshuttler
2021-11-29 23:18:27 +00:00
parent 4346b60dc0
commit 099fc2222d

View File

@@ -2511,8 +2511,6 @@ void HTMLInputElement::AfterSetFilesOrDirectories(bool aSetValueChanged) {
// Grab the full path here for any chrome callers who access our .value via a
// CPOW. This path won't be called from a CPOW meaning the potential sync IPC
// call under GetMozFullPath won't be rejected for not being urgent.
// XXX Protected by the ifndef because the blob code doesn't allow us to send
// this message in b2g.
if (mFileData->mFilesOrDirectories.IsEmpty()) {
mFileData->mFirstFilePath.Truncate();
} else {