backout a268f8037bb0

This commit is contained in:
Jonathan Watt 2013-10-14 08:48:39 +01:00
parent 483e648de4
commit 915d74831e
2 changed files with 0 additions and 11 deletions

View File

@ -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)
{

View File

@ -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 {