Bug 923922, part 1 - Rename DirPickerBuildFileListTasks to DirPickerFileListBuilderTask. r=smaug

This commit is contained in:
Jonathan Watt 2013-10-06 10:01:38 +01:00
Родитель f6e24143cf
Коммит 4dac94b83d
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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);
}