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

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

Issue 2399613002: Don't access Port._filesystem directly (use Port.host.filesystem instead). (Closed)
Patch Set: Created 4 years, 2 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_cl_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
index bf48922a69ab9d67afc6f4e27d6a4316b07ba6de..1c81ae65c010f0df7817f602ce0fb05262fa8981 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
@@ -66,7 +66,7 @@ class RebaselineCLTest(BaseTestCase, LoggingTestCase):
]
for test in tests:
# pylint: disable=protected-access
- self._write(port._filesystem.join(port.layout_tests_dir(), test), 'contents')
+ self._write(port.host.filesystem.join(port.layout_tests_dir(), test), 'contents')
def tearDown(self):
BaseTestCase.tearDown(self)
@@ -165,7 +165,7 @@ class RebaselineCLTest(BaseTestCase, LoggingTestCase):
# pylint: disable=protected-access
port = self.tool.port_factory.get('test-win-win7')
self._write(
- port._filesystem.join(port.layout_tests_dir(), 'fast/dom/prototype-taco.html'),
+ port.host.filesystem.join(port.layout_tests_dir(), 'fast/dom/prototype-taco.html'),
'test contents')
self.command._rebaseline(

Powered by Google App Engine
This is Rietveld 408576698