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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_from_try_jobs.py

Issue 2165983003: Revert of Refactor the buildbot module in webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_from_try_jobs.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_from_try_jobs.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_from_try_jobs.py
index 67a78885292aaff4ba36ba9c2141314de5165de9..1affaef23677d2ceae84a393e9891358cd52d775 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_from_try_jobs.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_from_try_jobs.py
@@ -105,9 +105,9 @@
def _unexpected_mismatch_results(self, try_job):
"""Fetches a list of LayoutTestResult objects for unexpected results with new baselines."""
- buildbot = self._tool.buildbot
- results_url = buildbot.results_url(try_job.builder_name, try_job.build_number)
- layout_test_results = buildbot.fetch_layout_test_results(results_url)
+ results_url = self._results_url(try_job.builder_name, try_job.build_number)
+ builder = self._tool.buildbot.builder_with_name(try_job.builder_name)
+ layout_test_results = builder.fetch_layout_test_results(results_url)
if layout_test_results is None:
_log.warning('Failed to request layout test results from "%s".', results_url)
return []

Powered by Google App Engine
This is Rietveld 408576698