Title: [98942] trunk/Tools
Revision
98942
Author
hausm...@webkit.org
Date
2011-11-01 02:54:07 -0700 (Tue, 01 Nov 2011)

Log Message

[Qt][WK2] Fix valgrind error about uninitialized variable
https://bugs.webkit.org/show_bug.cgi?id=71273

Reviewed by Kenneth Christiansen.

* MiniBrowser/qt/MiniBrowserApplication.cpp:
(MiniBrowserApplication::notify): Initialize isPrimary.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (98941 => 98942)


--- trunk/Tools/ChangeLog	2011-11-01 07:35:54 UTC (rev 98941)
+++ trunk/Tools/ChangeLog	2011-11-01 09:54:07 UTC (rev 98942)
@@ -1,3 +1,13 @@
+2011-11-01  Simon Hausmann  <simon.hausm...@nokia.com>
+
+        [Qt][WK2] Fix valgrind error about uninitialized variable
+        https://bugs.webkit.org/show_bug.cgi?id=71273
+
+        Reviewed by Kenneth Christiansen.
+
+        * MiniBrowser/qt/MiniBrowserApplication.cpp:
+        (MiniBrowserApplication::notify): Initialize isPrimary.
+
 2011-10-31  Adam Roben  <aro...@apple.com>
 
         Make Leaks Viewer less strict when parsing leaks-related output from NRWT/ORWT

Modified: trunk/Tools/MiniBrowser/qt/MiniBrowserApplication.cpp (98941 => 98942)


--- trunk/Tools/MiniBrowser/qt/MiniBrowserApplication.cpp	2011-11-01 07:35:54 UTC (rev 98941)
+++ trunk/Tools/MiniBrowser/qt/MiniBrowserApplication.cpp	2011-11-01 09:54:07 UTC (rev 98942)
@@ -110,6 +110,7 @@
         QWindowSystemInterface::TouchPoint touchPoint;
         touchPoint.area = QRectF(mouseEvent->globalPos(), QSizeF(1, 1));
         touchPoint.pressure = 1;
+        touchPoint.isPrimary = false;
 
         switch (mouseEvent->type()) {
         case QEvent::MouseButtonPress:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to