https://bugs.webkit.org/show_bug.cgi?id=81666
Patch by Konrad Piascik <kpiascik@rim.com> on 2012-03-20
Reviewed by Rob Buis.
Compiled with feature disabled and built.
* page/EventHandler.cpp:
(WebCore::EventHandler::selectCursor):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111400
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-03-20 Konrad Piascik <kpiascik@rim.com>
+
+ (r110063) m_mouseDownMayStartDrag is used without being behind the ENABLE(DRAG_SUPPORT) macro
+ https://bugs.webkit.org/show_bug.cgi?id=81666
+
+ Reviewed by Rob Buis.
+
+ Compiled with feature disabled and built.
+
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::selectCursor):
+
2012-03-20 W. James MacLean <wjmaclean@chromium.org>
[chromium] Tune fling physics curve. [Not for review yet]
// During selection, use an I-beam no matter what we're over.
// If a drag may be starting or we're capturing mouse events for a particular node, don't treat this as a selection.
- if (m_mousePressed && m_mouseDownMayStartSelect && !m_mouseDownMayStartDrag && m_frame->selection()->isCaretOrRange() && !m_capturingMouseEventsNode)
+ if (m_mousePressed && m_mouseDownMayStartSelect
+#if ENABLE(DRAG_SUPPORT)
+ && !m_mouseDownMayStartDrag
+#endif
+ && m_frame->selection()->isCaretOrRange() && !m_capturingMouseEventsNode)
return iBeam;
if (renderer) {