summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/tools/layout_tests/test_types/image_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/test_types/image_diff.py b/webkit/tools/layout_tests/test_types/image_diff.py
index 990b6e6..ba5f391 100644
--- a/webkit/tools/layout_tests/test_types/image_diff.py
+++ b/webkit/tools/layout_tests/test_types/image_diff.py
@@ -160,7 +160,7 @@ class ImageDiff(test_type_base.TestTypeBase):
self.WriteOutputFiles(filename, '', '.checksum', test_args.hash,
expected_hash, diff=False, wdiff=False)
- if (test_args.hash == expected_hash or expected_hash == ''):
+ if (test_args.hash == expected_hash or expected_hash != ''):
self._CopyOutputPNGs(filename, test_args.png_path,
expected_png_file)
self._CreateImageDiff(filename, target)