diff options
Diffstat (limited to 'base/message_pump_win.cc')
-rw-r--r-- | base/message_pump_win.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/base/message_pump_win.cc b/base/message_pump_win.cc index 289e089..7b053c3 100644 --- a/base/message_pump_win.cc +++ b/base/message_pump_win.cc @@ -273,10 +273,7 @@ void MessagePumpWin::DoRunLoop() { if (state_->should_quit) break; - if (more_work_is_plausible) - continue; - - more_work_is_plausible = + more_work_is_plausible |= state_->delegate->DoDelayedWork(&delayed_work_time_); // If we did not process any delayed work, then we can assume that our // existing WM_TIMER if any will fire when delayed work should run. We |