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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_parser.py

Issue 2206433002: Pass Host object into test_parser (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/w3c/test_parser.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_parser.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_parser.py
index a8bc0ffc3fcbfe35cb0d784060a5ab5ad9078f3f..f16e099a4b58d78e70486983f20bba1b3b38136d 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_parser.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_parser.py
@@ -38,10 +38,10 @@ _log = logging.getLogger(__name__)
class TestParser(object):
- def __init__(self, filename, options=None):
+ def __init__(self, filename, host, options=None):
self.options = options or {'all': False}
self.filename = filename
- self.host = Host()
+ self.host = host
self.filesystem = self.host.filesystem
self.test_doc = None

Powered by Google App Engine
This is Rietveld 408576698