Commit 8d6c8804 authored by weinig@apple.com's avatar weinig@apple.com
Browse files

Fix typo in Connection.cpp

https://bugs.webkit.org/show_bug.cgi?id=67060

Reviewed by Anders Carlsson.

* Platform/CoreIPC/Connection.cpp:
(CoreIPC::Connection::waitForSyncReply):
We want timedOut, not timeout.  There is not a current way to cause this
to be an issue. This issue was caught by the Clang Static Analyzer.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 18a48ce3
2011-08-26 Sam Weinig <sam@webkit.org>
Fix typo in Connection.cpp
https://bugs.webkit.org/show_bug.cgi?id=67060
Reviewed by Anders Carlsson.
* Platform/CoreIPC/Connection.cpp:
(CoreIPC::Connection::waitForSyncReply):
We want timedOut, not timeout. There is not a current way to cause this
to be an issue. This issue was caught by the Clang Static Analyzer.
2011-08-26 Alice Liu <alice.liu@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=66823
......
......@@ -475,7 +475,7 @@ PassOwnPtr<ArgumentDecoder> Connection::waitForSyncReply(uint64_t syncRequestID,
// FIXME: Although we run forever, any events incoming will cause us to drop out and exit out. This however doesn't
// account for a timeout value passed in. Timeout is always NoTimeout in these cases, but that could change.
RunLoop::current()->runForDuration(1e10);
timeout = currentTime() >= absoluteTime;
timedOut = currentTime() >= absoluteTime;
#endif
} else
timedOut = !m_syncMessageState->wait(absoluteTime);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment