EventHandler::m_eventHandlerWillResetCapturingMouseEventsElement is incorrectly initi...
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 May 2015 06:14:51 +0000 (06:14 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 May 2015 06:14:51 +0000 (06:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=144583

Reviewed by Daniel Bates.

* page/EventHandler.cpp:
(WebCore::EventHandler::EventHandler): The
m_eventHandlerWillResetCapturingMouseEventsElement is a boolean,
so initialize it to false, instead of to nullptr.

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

Source/WebCore/ChangeLog
Source/WebCore/page/EventHandler.cpp

index e17eae8..904f03f 100644 (file)
@@ -1,3 +1,15 @@
+2015-05-05  Žan Doberšek  <zdobersek@igalia.com>
+
+        EventHandler::m_eventHandlerWillResetCapturingMouseEventsElement is incorrectly initialized
+        https://bugs.webkit.org/show_bug.cgi?id=144583
+
+        Reviewed by Daniel Bates.
+
+        * page/EventHandler.cpp:
+        (WebCore::EventHandler::EventHandler): The
+        m_eventHandlerWillResetCapturingMouseEventsElement is a boolean,
+        so initialize it to false, instead of to nullptr.
+
 2015-05-05  Manuel Rego Casasnovas  <rego@igalia.com>
 
         [CSS Grid Layout] grid-template-areas should accept none value
index 3d9fef0..8ac66dc 100644 (file)
@@ -391,7 +391,7 @@ EventHandler::EventHandler(Frame& frame)
 #endif
     , m_svgPan(false)
     , m_resizeLayer(0)
-    , m_eventHandlerWillResetCapturingMouseEventsElement(nullptr)
+    , m_eventHandlerWillResetCapturingMouseEventsElement(false)
     , m_clickCount(0)
 #if ENABLE(IOS_GESTURE_EVENTS)
     , m_gestureInitialDiameter(GestureUnknown)