summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp
diff options
context:
space:
mode:
authorDavid Fries <David@Fries.net>2014-07-11 10:59:44 -0500
committerDavid Fries <david@fries.net>2014-07-12 14:04:20 +0200
commit20558f56823e28c0c28043ed5ba06b29bebe348b (patch)
tree5cce12adfd6304c59e9d0cfb5dc0f06315019de6 /Source/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp
parentcb0f788597a946438bfd993850426f848ff39aa2 (diff)
downloadqtwebkit-20558f56823e28c0c28043ed5ba06b29bebe348b.tar.gz
QWebPage crashes on drag without QWidget view
QWebPage can be used without a widgets and has a documentation section on how to do so, but if QWegPage hasn't been given a QWidget in setView a drag operation will crash. To reproduce select a section of the web page click and drag from within the selection and it will crash. Add a check to avoid a NULL dereference, the existing code already has a check for not having a QWidget set as the view. DragClientQt::startDrag m_chromeClient->platformPageClient() is NULL Task-number: QTBUG-40204 Change-Id: I5739285696ab57c05ee59c10ae00a1cf652ff494 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp')
0 files changed, 0 insertions, 0 deletions