Changeset 87366 in webkit
- Timestamp:
- May 26, 2011 12:15:36 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r87365 r87366 1 2011-05-26 Igor Oliveira <igor.oliveira@openbossa.org> 2 3 Reviewed by Andreas Kling. 4 5 drag-not-loaded-image.html test crashes when WebKit is built with debug option 6 https://bugs.webkit.org/show_bug.cgi?id=61480 7 8 Checks if image has content before starting to drag. 9 10 * page/DragController.cpp: 11 (WebCore::DragController::startDrag): 12 1 13 2011-05-26 Alok Priyadarshi <alokp@chromium.org> 2 14 -
trunk/Source/WebCore/page/DragController.cpp
r86601 r87366 732 732 } 733 733 doSystemDrag(dragImage, dragLoc, dragOrigin, clipboard, src, false); 734 } else if (!imageURL.isEmpty() && node && node->isElementNode() && image 734 } else if (!imageURL.isEmpty() && node && node->isElementNode() && image && !image->isNull() 735 735 && (m_dragSourceAction & DragSourceActionImage)) { 736 736 // We shouldn't be starting a drag for an image that can't provide an extension.
Note: See TracChangeset
for help on using the changeset viewer.