Bug 923922, part 1 - Rename DirPickerBuildFileListTasks to DirPickerFileListBuilderTask. r=smaug
authorJonathan Watt <jwatt@jwatt.org>
Sun, 06 Oct 2013 10:01:38 +0100
changeset 164469 271b0129916dd8c5a666a3e0c30c31e9004b876b
parent 164468 9ec685d9f7698b63fe8e6442cb2375b898203c39
child 164470 aa9527b63f674b8c7ff21722e45fe298e4254f24
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs923922
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 923922, part 1 - Rename DirPickerBuildFileListTasks to DirPickerFileListBuilderTask. r=smaug
content/html/content/src/HTMLInputElement.cpp
--- a/content/html/content/src/HTMLInputElement.cpp
+++ b/content/html/content/src/HTMLInputElement.cpp
@@ -472,21 +472,21 @@ private:
   nsCOMPtr<nsIFile> mTopDir;
   nsCOMPtr<nsIFile> mTopDirsParent; // May be mTopDir if no parent
   nsCOMPtr<nsIFile> mNextFile;
   nsTArray<nsCOMPtr<nsISimpleEnumerator> > mDirEnumeratorStack;
 };
 
 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)
   {}
 
   NS_IMETHOD Run() {
     if (!NS_IsMainThread()) {
       // Build up list of nsDOMFileFile objects on this dedicated thread:
       nsCOMPtr<nsISimpleEnumerator> iter =
@@ -588,20 +588,20 @@ HTMLInputElement::nsFilePickerShownCallb
 
     nsCOMPtr<nsIEventTarget> target
       = do_GetService(NS_STREAMTRANSPORTSERVICE_CONTRACTID);
     NS_ASSERTION(target, "Must have stream transport service");
 
     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);
   }
 
   // Collect new selected filenames
   nsTArray<nsCOMPtr<nsIDOMFile> > newFiles;
   if (mode == static_cast<int16_t>(nsIFilePicker::modeOpenMultiple)) {
     nsCOMPtr<nsISimpleEnumerator> iter;
     nsresult rv = mFilePicker->GetDomfiles(getter_AddRefs(iter));