Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations.py |
index ff29a89bf24b74eac27820043315987905ce4ec0..e644c409dea7010b0386c61e5e9b00d7f96cecea 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations.py |
@@ -18,7 +18,9 @@ from webkitpy.w3c.test_parser import TestParser |
_log = logging.getLogger(__name__) |
-def main(host, port): |
+def main(host): |
+ host.initialize_scm() |
+ port = host.port_factory.get() |
expectations_file = port.path_to_generic_test_expectations_file() |
expectations_line_adder = W3CExpectationsLineAdder(host) |
issue_number = expectations_line_adder.get_issue_number() |