Title: [102822] trunk/Source/WebKit/qt
Revision
102822
Author
[email protected]
Date
2011-12-14 14:09:48 -0800 (Wed, 14 Dec 2011)

Log Message

[Qt] DeviceOrientationClientQt should initialize m_controller to zero.
https://bugs.webkit.org/show_bug.cgi?id=74522

Patch by Alexander Færøy <[email protected]> on 2011-12-14
Reviewed by Kenneth Rohde Christiansen.

* WebCoreSupport/DeviceOrientationProviderQt.cpp:
(WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):

Modified Paths

Diff

Modified: trunk/Source/WebKit/qt/ChangeLog (102821 => 102822)


--- trunk/Source/WebKit/qt/ChangeLog	2011-12-14 22:00:27 UTC (rev 102821)
+++ trunk/Source/WebKit/qt/ChangeLog	2011-12-14 22:09:48 UTC (rev 102822)
@@ -1,3 +1,13 @@
+2011-12-14  Alexander Færøy  <[email protected]>
+
+        [Qt] DeviceOrientationClientQt should initialize m_controller to zero.
+        https://bugs.webkit.org/show_bug.cgi?id=74522
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        * WebCoreSupport/DeviceOrientationProviderQt.cpp:
+        (WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
+
 2011-12-14  Alexander Færøy  <[email protected]>
 
         [Qt] Fix compilation of QtWebKit with --orientation-events without ENABLE_DEVICE_ORIENTATION

Modified: trunk/Source/WebKit/qt/WebCoreSupport/DeviceOrientationProviderQt.cpp (102821 => 102822)


--- trunk/Source/WebKit/qt/WebCoreSupport/DeviceOrientationProviderQt.cpp	2011-12-14 22:00:27 UTC (rev 102821)
+++ trunk/Source/WebKit/qt/WebCoreSupport/DeviceOrientationProviderQt.cpp	2011-12-14 22:09:48 UTC (rev 102822)
@@ -27,6 +27,7 @@
 namespace WebCore {
 
 DeviceOrientationProviderQt::DeviceOrientationProviderQt()
+    : m_controller(0)
 {
     m_sensor.addFilter(this);
     m_lastOrientation = DeviceOrientation::create();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to