Changeset 150068 in webkit
- Timestamp:
- May 14, 2013, 5:54:06 AM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r150064 r150068 1 2013-05-14 Jocelyn Turcotte <jocelyn.turcotte@digia.com> 2 3 [WK2][Win] Fix ASSERT(DeleteTimerQueueTimer...) 4 https://bugs.webkit.org/show_bug.cgi?id=116039 5 6 Reviewed by Benjamin Poulain. 7 8 According to the documentation, DeleteTimerQueueTimer can be expected to return 9 false with an ERROR_IO_PENDING error when called from the timer's callback. 10 11 * Platform/win/WorkQueueWin.cpp: 12 (WorkQueue::timerCallback): 13 1 14 2013-05-14 Alexey Proskuryakov <ap@apple.com> 2 15 -
trunk/Source/WebKit2/Platform/win/WorkQueueWin.cpp
r142002 r150068 228 228 ASSERT(timerContext->timer); 229 229 ASSERT(timerContext->queue->m_timerQueue); 230 if (!::DeleteTimerQueueTimer(timerContext->queue->m_timerQueue, timerContext->timer, 0)) 231 ASSERT_WITH_MESSAGE(false, "::DeleteTimerQueueTimer failed with error %lu", ::GetLastError()); 230 if (!::DeleteTimerQueueTimer(timerContext->queue->m_timerQueue, timerContext->timer, 0)) { 231 // Getting ERROR_IO_PENDING here means that the timer will be destroyed once the callback is done executing. 232 ASSERT_WITH_MESSAGE(::GetLastError() == ERROR_IO_PENDING, "::DeleteTimerQueueTimer failed with error %lu", ::GetLastError()); 233 } 232 234 } 233 235
Note:
See TracChangeset
for help on using the changeset viewer.