summaryrefslogtreecommitdiffstats
path: root/base/message_loop.cc
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 22:00:02 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 22:00:02 +0000
commit31a897acd2fd0c97a7a21754fed03090f93bd45e (patch)
tree0ce5c9ad4fd8c3c633093a58bd7180b958e2dd47 /base/message_loop.cc
parent9fec137c83b849a57c6a5a712303cfc6eb0bd5fe (diff)
downloadchromium_src-31a897acd2fd0c97a7a21754fed03090f93bd45e.zip
chromium_src-31a897acd2fd0c97a7a21754fed03090f93bd45e.tar.gz
chromium_src-31a897acd2fd0c97a7a21754fed03090f93bd45e.tar.bz2
touchui: build fix for the buildbot.
BUG=http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Linux%20Touch%20%28dbg%29/builds/755/steps/compile/logs/stdio TEST=touch buildbot should pass Review URL: http://codereview.chromium.org/6076001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69760 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r--base/message_loop.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc
index 4c81806..7941457 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -27,7 +27,6 @@
#include "base/message_pump_glib_x.h"
#endif
-using base::Time;
using base::TimeDelta;
using base::TimeTicks;
@@ -347,9 +346,9 @@ void MessageLoop::PostTask_Helper(
// res timers for any timer which is within 2x of the granularity.
// This is a tradeoff between accuracy and power management.
bool needs_high_res_timers =
- delay_ms < (2 * Time::kMinLowResolutionThresholdMs);
+ delay_ms < (2 * base::Time::kMinLowResolutionThresholdMs);
if (needs_high_res_timers) {
- Time::ActivateHighResolutionTimer(true);
+ base::Time::ActivateHighResolutionTimer(true);
high_resolution_timer_expiration_ = TimeTicks::Now() +
TimeDelta::FromMilliseconds(kHighResolutionTimerModeLeaseTimeMs);
}
@@ -362,7 +361,7 @@ void MessageLoop::PostTask_Helper(
#if defined(OS_WIN)
if (!high_resolution_timer_expiration_.is_null()) {
if (TimeTicks::Now() > high_resolution_timer_expiration_) {
- Time::ActivateHighResolutionTimer(false);
+ base::Time::ActivateHighResolutionTimer(false);
high_resolution_timer_expiration_ = TimeTicks();
}
}