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 62c523a3cbf96eb6eb5af9254e5f2f702d3830d3..8328a6331aace34addfbbbb7eea23696965f0d4d 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 |
@@ -1097,9 +1097,8 @@ class TestExpectations(object): |
def _shorten_filename(self, filename): |
finder = WebKitFinder(self._port.host.filesystem) |
- # TODO(tkent): Can we use path_from_layout_tests() instead? |
- if filename.startswith(finder.path_from_webkit_base()): |
- return self._port.host.filesystem.relpath(filename, finder.path_from_webkit_base()) |
+ if filename.startswith(finder.path_from_chromium_base()): |
+ return self._port.host.filesystem.relpath(filename, finder.path_from_chromium_base()) |
return filename |
def _report_warnings(self): |