Index: dashboard/dashboard/elements/bisect-button.html |
diff --git a/dashboard/dashboard/elements/bisect-button.html b/dashboard/dashboard/elements/bisect-button.html |
index d484e96a5c8a631f413ac537b1a9a4375cb959b5..86ed2ea4a9cc8104eb0839a2d99c8dce6abd12c0 100644 |
--- a/dashboard/dashboard/elements/bisect-button.html |
+++ b/dashboard/dashboard/elements/bisect-button.html |
@@ -9,6 +9,7 @@ found in the LICENSE file. |
<link rel="import" href="/dashboard/elements/bisect-form.html"> |
<link rel="import" href="/dashboard/elements/pinpoint-job-dialog.html"> |
+<link rel="import" href="/dashboard/static/pinpoint.html"> |
<link rel="import" href="/dashboard/static/simple_xhr.html"> |
<dom-module id="bisect-button"> |
@@ -113,12 +114,8 @@ found in the LICENSE file. |
onBisect() { |
const testPathParts = this.bisectInfo.testPath.split('/'); |
const botName = testPathParts[1]; |
- const PINPOINT_BOTS = [ |
- 'chromium-rel-mac11-air', |
- 'chromium-rel-mac11-pro' |
- ]; |
- if (PINPOINT_BOTS.indexOf(botName) != -1) { |
+ if (d.PINPOINT_BOTS.indexOf(botName) != -1) { |
this.$.pinpoint.test_path = this.bisectInfo.testPath; |
this.$.pinpoint.start_commit = this.bisectInfo.goodRev; |
this.$.pinpoint.start_repository = this.bisectInfo.goodRevRepo; |