Crash under WebCore::IDBDatabase::connectionToServerLost
authorsihui_liu@apple.com <sihui_liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Mar 2019 20:06:55 +0000 (20:06 +0000)
committersihui_liu@apple.com <sihui_liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Mar 2019 20:06:55 +0000 (20:06 +0000)
commit7f496d80419ce81cfa413946a5d3248d34e878ab
tree6643a8720942c26063281ff219fdb89a248cee81
parent7c82e2384760e4cdd56310c82348131a91566e4a
Crash under WebCore::IDBDatabase::connectionToServerLost
https://bugs.webkit.org/show_bug.cgi?id=195563
<rdar://problem/37193655>

CrossThreadTask should protect callee if it is ThreadSafeRefCounted.

Reviewed by Geoffrey Garen.

* wtf/CrossThreadTask.h:
(WTF::createCrossThreadTask):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/CrossThreadTask.h