Changeset 52803 in webkit
- Timestamp:
- Jan 5, 2010 10:14:35 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r52802 r52803 1 2010-01-05 Adam Roben <aroben@apple.com> 2 3 Don't hang in WebKitAPITest if no messages have been posted 4 5 Part of <http://webkit.org/b/33212> Small fixes/improvements to 6 WebKitAPITest 7 8 Reviewed by Sam Weinig. 9 10 * WebKitAPITest/tests/WebViewDestruction.cpp: 11 (WebKitAPITest::runMessagePump): Use PeekMessage instead of GetMessage 12 to avoid hanging if no messages have been posted. 13 1 14 2010-01-05 Adam Roben <aroben@apple.com> 2 15 -
trunk/WebKitTools/WebKitAPITest/tests/WebViewDestruction.cpp
r52802 r52803 69 69 MSG msg; 70 70 BOOL result; 71 while ((result = GetMessage(&msg, 0, 0, 0)) && GetTickCount() - startTickCount <= timeoutMilliseconds) {71 while ((result = PeekMessageW(&msg, 0, 0, 0, PM_REMOVE)) && GetTickCount() - startTickCount <= timeoutMilliseconds) { 72 72 if (result == -1) 73 73 break;
Note: See TracChangeset
for help on using the changeset viewer.