[WK2] Sync messages with with non-default timeout sent from secondary threads always...
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Aug 2013 21:36:41 +0000 (21:36 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Aug 2013 21:36:41 +0000 (21:36 +0000)
commitd10bc3dbd5ce469627bfd6e9fb04c3693160a814
treeb8ee8ebad5638fe6a3a848e8f6aaa0c6e69c7ec1
parent7c5365cb0d7795d44f8cf074c663374d7599e942
[WK2] Sync messages with with non-default timeout sent from secondary threads always time out
https://bugs.webkit.org/show_bug.cgi?id=119767

Fix by Justin Bur.
Reviewed by Darin Adler.

* Platform/CoreIPC/Connection.cpp: (CoreIPC::Connection::sendSyncMessageFromSecondaryThread):
The argument to wait() is absolute time, not a delta. This calculation matches one
in Connection::waitForMessage().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Platform/CoreIPC/Connection.cpp