Title: [98252] trunk/Tools
- Revision
- 98252
- Author
- [email protected]
- Date
- 2011-10-24 10:33:01 -0700 (Mon, 24 Oct 2011)
Log Message
[Qt][WK2] Crash when running pixel tests
https://bugs.webkit.org/show_bug.cgi?id=70725
Reviewed by Chang Shu.
* WebKitTestRunner/qt/TestInvocationQt.cpp:
(WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (98251 => 98252)
--- trunk/Tools/ChangeLog 2011-10-24 17:24:55 UTC (rev 98251)
+++ trunk/Tools/ChangeLog 2011-10-24 17:33:01 UTC (rev 98252)
@@ -1,3 +1,13 @@
+2011-10-24 Balazs Kelemen <[email protected]>
+
+ [Qt][WK2] Crash when running pixel tests
+ https://bugs.webkit.org/show_bug.cgi?id=70725
+
+ Reviewed by Chang Shu.
+
+ * WebKitTestRunner/qt/TestInvocationQt.cpp:
+ (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
+
2011-10-24 Carlos Garcia Campos <[email protected]>
[GTK] Remove g_thread_init() calls
Modified: trunk/Tools/WebKitTestRunner/qt/TestInvocationQt.cpp (98251 => 98252)
--- trunk/Tools/WebKitTestRunner/qt/TestInvocationQt.cpp 2011-10-24 17:24:55 UTC (rev 98251)
+++ trunk/Tools/WebKitTestRunner/qt/TestInvocationQt.cpp 2011-10-24 17:33:01 UTC (rev 98252)
@@ -68,7 +68,7 @@
QImage image = WKImageCreateQImage(imageRef);
QCryptographicHash hash(QCryptographicHash::Md5);
for (unsigned row = 0; row < image.height(); ++row)
- hash.addData(reinterpret_cast<const char*>(image.constScanLine(row)), image.width() * image.bytesPerLine());
+ hash.addData(reinterpret_cast<const char*>(image.constScanLine(row)), image.bytesPerLine());
QByteArray actualHash = hash.result().toHex();
ASSERT(actualHash.size() == 32);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes