Title: [90606] trunk/Tools
Revision
90606
Author
[email protected]
Date
2011-07-07 19:13:05 -0700 (Thu, 07 Jul 2011)

Log Message

[ImageDiff] Calculate/print difference right after reading baseline image.
https://bugs.webkit.org/show_bug.cgi?id=64117

Patch by Leandro Pereira <[email protected]> on 2011-07-07
Reviewed by Kent Tamura.

Otherwise, ImageDiff will block on fgets() until the universe ends or you ^C
it.  Whichever happens first.

* DumpRenderTree/efl/ImageDiff.cpp:
(main):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (90605 => 90606)


--- trunk/Tools/ChangeLog	2011-07-08 01:16:07 UTC (rev 90605)
+++ trunk/Tools/ChangeLog	2011-07-08 02:13:05 UTC (rev 90606)
@@ -1,3 +1,16 @@
+2011-07-07  Leandro Pereira  <[email protected]>
+
+        [ImageDiff] Calculate/print difference right after reading baseline image.
+        https://bugs.webkit.org/show_bug.cgi?id=64117
+
+        Reviewed by Kent Tamura.
+
+        Otherwise, ImageDiff will block on fgets() until the universe ends or you ^C
+        it.  Whichever happens first.
+
+        * DumpRenderTree/efl/ImageDiff.cpp:
+        (main):
+
 2011-07-07  Raphael Kubo da Costa  <[email protected]>
 
         [EFL] DRT: Leak cairo_t to make the pixel tests stop crashing

Modified: trunk/Tools/DumpRenderTree/efl/ImageDiff.cpp (90605 => 90606)


--- trunk/Tools/DumpRenderTree/efl/ImageDiff.cpp	2011-07-08 01:16:07 UTC (rev 90605)
+++ trunk/Tools/DumpRenderTree/efl/ImageDiff.cpp	2011-07-08 02:13:05 UTC (rev 90606)
@@ -330,9 +330,9 @@
 
             if (!actualImage)
                 actualImage = readImageFromStdin(evas, imageSize);
-            else if (!baselineImage)
+            else if (!baselineImage) {
                 baselineImage = readImageFromStdin(evas, imageSize);
-            else {
+
                 printImageDifferences(baselineImage.get(), actualImage.get());
 
                 actualImage.clear();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to