Changeset 173664 in webkit
- Timestamp:
- Sep 16, 2014 11:09:21 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r173660 r173664 1 2014-09-16 Jer Noble <jer.noble@apple.com> 2 3 Videos with controls enabled never receive 'dragstart' events. 4 https://bugs.webkit.org/show_bug.cgi?id=136837 5 6 Reviewed by Eric Carlson. 7 8 Fixes a crash regression introduced by r173631. Node::contains() has an interesting property of returning false 9 if `this` is NULL. Rather than depending on this behavior, explicitly NULL-check state.source and bail early. 10 11 * page/DragController.cpp: 12 (WebCore::DragController::startDrag): 13 1 14 2014-09-16 Csaba Osztrogonác <ossy@webkit.org> 2 15 -
trunk/Source/WebCore/page/DragController.cpp
r173632 r173664 718 718 bool DragController::startDrag(Frame& src, const DragState& state, DragOperation srcOp, const PlatformMouseEvent& dragEvent, const IntPoint& dragOrigin) 719 719 { 720 if (!src.view() || !src.contentRenderer() )720 if (!src.view() || !src.contentRenderer() || !state.source) 721 721 return false; 722 722
Note: See TracChangeset
for help on using the changeset viewer.