Index: Tools/GardeningServer/model/ct-failure-group.html |
diff --git a/Tools/GardeningServer/model/ct-failure-group.html b/Tools/GardeningServer/model/ct-failure-group.html |
index 7eae058130ed966242df0dd826d4a09f2d8e1489..693976820790b25fb36c1179a14f5535b7005e80 100644 |
--- a/Tools/GardeningServer/model/ct-failure-group.html |
+++ b/Tools/GardeningServer/model/ct-failure-group.html |
@@ -7,9 +7,10 @@ found in the LICENSE file. |
<link rel="import" href="ct-commit-list.html"> |
<script> |
-function CTFailureGroup(key, failures, annotation) { |
+function CTFailureGroup(key, failures, commitList, annotation) { |
this.key = key; |
this.failures = failures; |
+ this.commitList = commitList; |
this._annotation = annotation || {}; |
this._computeProperties(); |
} |
@@ -26,10 +27,6 @@ CTFailureGroup.prototype.unsnooze = function() { |
}); |
}; |
-CTFailureGroup.prototype.commitList = function(commits) { |
- return new CTCommitList(this, commits); |
-}; |
- |
CTFailureGroup.prototype.setBug = function(bug) { |
if (/^[0-9]+$/.test(bug)) |
bug = 'http://crbug.com/' + bug; |