diff options
Diffstat (limited to 'Tools/Scripts/webkitpy/layout_tests/port/image_diff.py')
-rw-r--r-- | Tools/Scripts/webkitpy/layout_tests/port/image_diff.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/image_diff.py b/Tools/Scripts/webkitpy/layout_tests/port/image_diff.py index 08202ace5..72d061ffc 100644 --- a/Tools/Scripts/webkitpy/layout_tests/port/image_diff.py +++ b/Tools/Scripts/webkitpy/layout_tests/port/image_diff.py @@ -57,6 +57,7 @@ class ImageDiffer(object): if not self._process: self._start(tolerance) + # Note that although we are handed 'old', 'new', ImageDiff wants 'new', 'old'. self._process.write('Content-Length: %d\n%sContent-Length: %d\n%s' % ( len(actual_contents), actual_contents, len(expected_contents), expected_contents)) |