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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py

Issue 2878873002: webkitpy: Rename WebKitFinder to PathFinder (Closed)
Patch Set: Created 3 years, 7 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/layout_tests/models/test_expectations.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
index 8328a6331aace34addfbbbb7eea23696965f0d4d..567c80eafe9131e4d9fc366758b9fbb3df91c1eb 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
@@ -33,7 +33,7 @@ from collections import defaultdict
import logging
import re
-from webkitpy.common.webkit_finder import WebKitFinder
+from webkitpy.common.path_finder import PathFinder
from webkitpy.layout_tests.models.test_configuration import TestConfigurationConverter
_log = logging.getLogger(__name__)
@@ -1096,7 +1096,7 @@ class TestExpectations(object):
return REBASELINE in self._model.get_expectations(test)
def _shorten_filename(self, filename):
- finder = WebKitFinder(self._port.host.filesystem)
+ finder = PathFinder(self._port.host.filesystem)
if filename.startswith(finder.path_from_chromium_base()):
return self._port.host.filesystem.relpath(filename, finder.path_from_chromium_base())
return filename

Powered by Google App Engine
This is Rietveld 408576698