[Webkit-unassigned] [Bug 81666] (r110063) m_mouseDownMayStartDrag is used without being behind the ENABLE(DRAG_SUPPORT) macro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 20 08:23:49 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=81666


Rob Buis <rwlbuis at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #132828|review?                     |review-
               Flag|                            |




--- Comment #2 from Rob Buis <rwlbuis at gmail.com>  2012-03-20 08:23:49 PST ---
(From update of attachment 132828)
Better do it like this:

if (m_mousePressed && m_mouseDownMayStartSelect && 
#if ENABLE(DRAG_SUPPORT)
    !m_mouseDownMayStartDrag &&
#endif
     m_frame->selection()->isCaretOrRange() && !m_capturingMouseEventsNode)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list