Another build fix. Added a missing null check.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 May 2017 19:36:40 +0000 (19:36 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 May 2017 19:36:40 +0000 (19:36 +0000)
* public/v3/components/custom-analysis-task-configurator.js:
(CustomAnalysisTaskConfigurator.prototype._setUploadedFilesIfEmpty):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216942 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/components/custom-analysis-task-configurator.js

index 60c5a65..5751265 100644 (file)
@@ -1,3 +1,10 @@
+2017-05-16  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Another build fix. Added a missing null check.
+
+        * public/v3/components/custom-analysis-task-configurator.js:
+        (CustomAnalysisTaskConfigurator.prototype._setUploadedFilesIfEmpty):
+
 2017-05-14  Ryosuke Niwa  <rniwa@webkit.org>
 
         Build fix. Added a missing null check.
index cab68ad..06b4e7f 100644 (file)
@@ -82,7 +82,7 @@ class CustomAnalysisTaskConfigurator extends ComponentBase {
 
     _setUploadedFilesIfEmpty(uploader, commitSet)
     {
-        if (uploader.hasFileToUpload() || uploader.uploadedFiles().length)
+        if (!uploader || uploader.hasFileToUpload() || uploader.uploadedFiles().length)
             return;
         for (const uploadedFile of commitSet.customRoots())
             uploader.addUploadedFile(uploadedFile);