зеркало из https://github.com/mozilla/gecko-dev.git
Bug 923922, part 1 - Rename DirPickerBuildFileListTasks to DirPickerFileListBuilderTask. r=smaug
This commit is contained in:
Родитель
f6e24143cf
Коммит
4dac94b83d
|
@ -477,11 +477,11 @@ private:
|
|||
|
||||
NS_IMPL_ISUPPORTS1(DirPickerRecursiveFileEnumerator, nsISimpleEnumerator)
|
||||
|
||||
class DirPickerBuildFileListTask MOZ_FINAL
|
||||
class DirPickerFileListBuilderTask MOZ_FINAL
|
||||
: public nsRunnable
|
||||
{
|
||||
public:
|
||||
DirPickerBuildFileListTask(HTMLInputElement* aInput, nsIFile* aTopDir)
|
||||
DirPickerFileListBuilderTask(HTMLInputElement* aInput, nsIFile* aTopDir)
|
||||
: mInput(aInput)
|
||||
, mTopDir(aTopDir)
|
||||
{}
|
||||
|
@ -593,10 +593,10 @@ HTMLInputElement::nsFilePickerShownCallback::Done(int16_t aResult)
|
|||
mInput->ResetProgressCounters();
|
||||
mInput->StartProgressEventTimer();
|
||||
|
||||
// DirPickerBuildFileListTask takes care of calling SetFiles() and
|
||||
// DirPickerFileListBuilderTask takes care of calling SetFiles() and
|
||||
// dispatching the "change" event.
|
||||
nsRefPtr<DirPickerBuildFileListTask> event =
|
||||
new DirPickerBuildFileListTask(mInput.get(), pickedDir.get());
|
||||
nsRefPtr<DirPickerFileListBuilderTask> event =
|
||||
new DirPickerFileListBuilderTask(mInput.get(), pickedDir.get());
|
||||
return target->Dispatch(event, NS_DISPATCH_NORMAL);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче