From 31a897acd2fd0c97a7a21754fed03090f93bd45e Mon Sep 17 00:00:00 2001 From: "sadrul@chromium.org" Date: Mon, 20 Dec 2010 22:00:02 +0000 Subject: 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 --- base/message_loop.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'base') 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(); } } -- cgit v1.1