mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
backout a268f8037bb0
This commit is contained in:
parent
483e648de4
commit
915d74831e
@ -618,10 +618,6 @@ HTMLInputElement::nsFilePickerShownCallback::Done(int16_t aResult)
|
||||
|
||||
mInput->CancelDirectoryPickerScanIfRunning();
|
||||
|
||||
// Clear HTMLInputElement.files early to avoid authors thinking the old list
|
||||
// is the result of the directory picker operation before its completed.
|
||||
mInput->ClearFiles();
|
||||
|
||||
int16_t mode;
|
||||
mFilePicker->GetMode(&mode);
|
||||
|
||||
@ -2458,12 +2454,6 @@ HTMLInputElement::SetFiles(nsIDOMFileList* aFiles,
|
||||
AfterSetFiles(aSetValueChanged);
|
||||
}
|
||||
|
||||
void
|
||||
HTMLInputElement::ClearFiles()
|
||||
{
|
||||
mFiles.Clear();
|
||||
}
|
||||
|
||||
void
|
||||
HTMLInputElement::AfterSetFiles(bool aSetValueChanged)
|
||||
{
|
||||
|
@ -201,7 +201,6 @@ public:
|
||||
|
||||
void SetFiles(const nsTArray<nsCOMPtr<nsIDOMFile> >& aFiles, bool aSetValueChanged);
|
||||
void SetFiles(nsIDOMFileList* aFiles, bool aSetValueChanged);
|
||||
void ClearFiles();
|
||||
|
||||
void SetCheckedChangedInternal(bool aCheckedChanged);
|
||||
bool GetCheckedChanged() const {
|
||||
|
Loading…
Reference in New Issue
Block a user