diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 00:25:57 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 00:25:57 +0000 |
commit | 1a2bfdd793e88a64f78b38d23303550cfd0703eb (patch) | |
tree | 90ef0670a00f72c3e0cc2499866d5627511a4867 /base/message_pump_win.h | |
parent | 7759c9a7b587662988fa1357c17c273ee64fb3bd (diff) | |
download | chromium_src-1a2bfdd793e88a64f78b38d23303550cfd0703eb.zip chromium_src-1a2bfdd793e88a64f78b38d23303550cfd0703eb.tar.gz chromium_src-1a2bfdd793e88a64f78b38d23303550cfd0703eb.tar.bz2 |
Eliminate TimerManager::GetCurrentDelay in favor of always referring to the fire time of the next timer. I changed the MessagePump API to refer to a delayed_work_time instead of a delay.
I moved the ceil-based rounding code into the Window's implementations of WaitableEvent and MessagePump.
R=jar
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_win.h')
-rw-r--r-- | base/message_pump_win.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/message_pump_win.h b/base/message_pump_win.h index 6699fde..ff021e3 100644 --- a/base/message_pump_win.h +++ b/base/message_pump_win.h @@ -161,7 +161,7 @@ class MessagePumpWin : public MessagePump { virtual void Run(Delegate* delegate) { RunWithDispatcher(delegate, NULL); } virtual void Quit(); virtual void ScheduleWork(); - virtual void ScheduleDelayedWork(const TimeDelta& delay); + virtual void ScheduleDelayedWork(const Time& delayed_work_time); private: struct RunState { |