Fix crash when converting QObjectList
authorAllan Sandfeld Jensen <allan.jensen@digia.com>
Wed, 13 Nov 2013 10:34:35 +0000 (11:34 +0100)
committerAllan Sandfeld Jensen <allan.jensen@digia.com>
Wed, 13 Nov 2013 10:34:49 +0000 (11:34 +0100)
commit970b44d61c9adc51c586069adc902e90bab09666
treee1af8a0e8e7dccda233629f5dc9067f376a0341a
parentf28e5ecd4af0f47037dc98eee784ff79f0ee5bff
Fix crash when converting QObjectList

We were passing on a PassRefPtr to multiple lower calls, since any
conversion from a PassRefPtr to a RefPtr will reset the PassRefPtr to
null, it should not be used for multiple calls.

Task-number: QTBUG-34278
Change-Id: I8d4bf28e25eb6e66baef38e0352c40a08f504538
Source/WebCore/bridge/qt/qt_runtime.cpp
Source/WebCore/bridge/qt/qt_runtime_qt4.cpp