| Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py
|
| index 80d30a402cff0dc4b851eaeec3023924cb6161f8..301ae26ce5e52dce0b7210e7fd5c9fbf1c6d65db 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py
|
| @@ -124,6 +124,11 @@ class MockFileSystem(object):
|
| def exists(self, path):
|
| return self.isfile(path) or self.isdir(path)
|
|
|
| + def getsize(self, path):
|
| + if not self.exists(path):
|
| + self._raise_not_found(path)
|
| + return len(self.read_binary_file(path))
|
| +
|
| def files_under(self, path, dirs_to_skip=None, file_filter=None):
|
| dirs_to_skip = dirs_to_skip or []
|
|
|
|
|