| Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
|
| index d44c592dc36ceea291ce725bb8317a52ee498c73..0c8ecae89e9b54e6475c466e3e8db52a421a80d0 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
|
| @@ -341,9 +341,9 @@ def summarize_results(port_obj, expectations, initial_results,
|
| results['chromium_revision'] = ''
|
| if port_obj.get_option('builder_name'):
|
| path = port_obj.repository_path()
|
| - scm = port_obj.host.scm(path=path)
|
| - if scm:
|
| - results['chromium_revision'] = str(scm.commit_position(path))
|
| + git = port_obj.host.git(path=path)
|
| + if git:
|
| + results['chromium_revision'] = str(git.commit_position(path))
|
| else:
|
| _log.warning('Failed to determine chromium commit position for %s, '
|
| 'leaving "chromium_revision" key blank in full_results.json.',
|
|
|