diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-06 22:23:29 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-06 22:23:29 +0000 |
commit | 7e7fab44ba1068bdce201757e82b6650fbca455d (patch) | |
tree | a25d1d1235e61672c95d66a7a287cc47f175799f /base/message_pump_default.h | |
parent | ffb65401dabf6ce5a74fcc416690b2525168ab8a (diff) | |
download | chromium_src-7e7fab44ba1068bdce201757e82b6650fbca455d.zip chromium_src-7e7fab44ba1068bdce201757e82b6650fbca455d.tar.gz chromium_src-7e7fab44ba1068bdce201757e82b6650fbca455d.tar.bz2 |
Switch to using TimeTicks rather than Time in message loops
Switch to using TimeTicks rather than Time so that we
are not dependent on changes in the system clock.
r=mbelshe,darin
Review URL: http://codereview.chromium.org/3884001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_default.h')
-rw-r--r-- | base/message_pump_default.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/message_pump_default.h b/base/message_pump_default.h index 0ac6cd4d..3dfbf1c 100644 --- a/base/message_pump_default.h +++ b/base/message_pump_default.h @@ -21,7 +21,7 @@ class MessagePumpDefault : public MessagePump { virtual void Run(Delegate* delegate); virtual void Quit(); virtual void ScheduleWork(); - virtual void ScheduleDelayedWork(const Time& delayed_work_time); + virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time); private: // This flag is set to false when Run should return. @@ -31,7 +31,7 @@ class MessagePumpDefault : public MessagePump { WaitableEvent event_; // The time at which we should call DoDelayedWork. - Time delayed_work_time_; + TimeTicks delayed_work_time_; DISALLOW_COPY_AND_ASSIGN(MessagePumpDefault); }; |