Changeset 106916 in webkit


Ignore:
Timestamp:
Feb 7, 2012 2:29:57 AM (12 years ago)
Author:
apavlov@chromium.org
Message:

[CRASH] bool EventHandler::dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent& event) references a NULL pointer
https://bugs.webkit.org/show_bug.cgi?id=77953

Reviewed by Andreas Kling.

  • page/EventHandler.cpp:

(WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r106914 r106916  
     12012-02-07  Alexander Pavlov  <apavlov@chromium.org>
     2
     3        [CRASH] bool EventHandler::dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent& event) references a NULL pointer
     4        https://bugs.webkit.org/show_bug.cgi?id=77953
     5
     6        Reviewed by Andreas Kling.
     7
     8        * page/EventHandler.cpp:
     9        (WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled):
     10
    1112012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
    212
  • trunk/Source/WebCore/page/EventHandler.cpp

    r106884 r106916  
    34573457bool EventHandler::dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent& event)
    34583458{
    3459     if (!m_frame->document()->settings()->isTouchEventEmulationEnabled())
     3459    if (!m_frame || !m_frame->settings() || !m_frame->settings()->isTouchEventEmulationEnabled())
    34603460        return false;
    34613461
Note: See TracChangeset for help on using the changeset viewer.