Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Unified Diff: Tools/GardeningServer/model/ct-failure-group.html

Issue 498523002: [Sheriff-o-matic] Use likely_revisions instead of first_failing/last_passing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase + no sort Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 aca2c2e7f6b43eb81bc246db6107d18574e0f089..812a2a5efaac998e5f0e7996e3e8759402c5198c 100644
--- a/Tools/GardeningServer/model/ct-failure-group.html
+++ b/Tools/GardeningServer/model/ct-failure-group.html
@@ -7,8 +7,9 @@ found in the LICENSE file.
<link rel="import" href="ct-commit-list.html">
<script>
-function CTFailureGroup(failures) {
+function CTFailureGroup(failures, commitList) {
this.failures = failures;
+ this.commitList = commitList;
this._annotation = CTFailureGroup._mergeAnnotations(failures.map(function(failure) {
return failure.annotations();
}).flatten());
@@ -27,10 +28,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;
« no previous file with comments | « Tools/GardeningServer/model/ct-failure.html ('k') | Tools/GardeningServer/model/test/ct-commit-list-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698