| Index: third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py
|
| index a679b915c5d3165ef0a6ba183534974f294c43c7..936eb3efe2fa2a016814cf44c637f5fbe4438b52 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py
|
| @@ -114,12 +114,12 @@ class LayoutTestResults(object):
|
| return self._results["builder_name"]
|
|
|
| @memoized
|
| - def chromium_revision(self, scm=None):
|
| + def chromium_revision(self, git=None):
|
| """Returns the revision of the results in commit position number format."""
|
| revision = self._chromium_revision or self._results["chromium_revision"]
|
| if not revision.isdigit():
|
| - assert scm, "scm is required if the original revision is a git hash."
|
| - revision = scm.commit_position_from_git_commit(revision)
|
| + assert git, "git is required if the original revision is a git hash."
|
| + revision = git.commit_position_from_git_commit(revision)
|
| return int(revision)
|
|
|
| def result_for_test(self, test):
|
|
|