2010-11-18 Hayato Ito <hayato@chromium.org>
authorhayato@chromium.org <hayato@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Nov 2010 19:06:33 +0000 (19:06 +0000)
committerhayato@chromium.org <hayato@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Nov 2010 19:06:33 +0000 (19:06 +0000)
        Reviewed by Shinichiro Hamaji.

        [NRWT] Fix a break of '--new-baseline' feature in pixel_test
        which is caused by r72249.

        https://bugs.webkit.org/show_bug.cgi?id=49751

        * Scripts/webkitpy/layout_tests/test_types/image_diff.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72314 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Scripts/webkitpy/layout_tests/test_types/image_diff.py

index d111e7debab8b65fcfe826b3c045378b291f6f4f..10d3ab8881f0f6d0b820896c4a3ecf406ed57db9 100644 (file)
@@ -1,3 +1,14 @@
+2010-11-18  Hayato Ito  <hayato@chromium.org>
+
+        Reviewed by Shinichiro Hamaji.
+
+        [NRWT] Fix a break of '--new-baseline' feature in pixel_test
+        which is caused by r72249.
+
+        https://bugs.webkit.org/show_bug.cgi?id=49751
+
+        * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
+
 2010-11-18  Adam Roben  <aroben@apple.com>
 
         Implement layoutTestController.waitForPolicyDelegate on Windows
index 41fe9bdb7f7dca3895fe42c61ac1e8cf1117649a..da466c8a17cd1ce27ecfbf95b102f8f578e3518b 100644 (file)
@@ -103,8 +103,8 @@ class ImageDiff(test_type_base.TestTypeBase):
 
         # If we're generating a new baseline, we pass.
         if test_args.new_baseline or test_args.reset_results:
-            self._save_baseline_files(filename, actual_test_output.image_hash,
-                                      actual_test_output.image,
+            self._save_baseline_files(filename, actual_test_output.image,
+                                      actual_test_output.image_hash,
                                       test_args.new_baseline)
             return failures