summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-15 18:40:12 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-15 18:40:12 +0000
commit4bfbacbe96b739c2962ce9e916139b3e1a2b7ac7 (patch)
tree7ace7486d6ae1662764d08b000dedbe7123551fb /remoting
parent5dce13ad9be431f7a6f8a398ada467a2892c0f8d (diff)
downloadchromium_src-4bfbacbe96b739c2962ce9e916139b3e1a2b7ac7.zip
chromium_src-4bfbacbe96b739c2962ce9e916139b3e1a2b7ac7.tar.gz
chromium_src-4bfbacbe96b739c2962ce9e916139b3e1a2b7ac7.tar.bz2
Convert use of TimeDeltas in remoting/host/it2me_host_user_interface.
R=ajwong@chromium.org BUG=108171 Review URL: https://chromiumcodereview.appspot.com/10543172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/it2me_host_user_interface.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/it2me_host_user_interface.cc b/remoting/host/it2me_host_user_interface.cc
index 1b2f392..e5cf54e 100644
--- a/remoting/host/it2me_host_user_interface.cc
+++ b/remoting/host/it2me_host_user_interface.cc
@@ -107,7 +107,7 @@ void It2MeHostUserInterface::OnContinueWindowTimer() {
FROM_HERE,
base::Bind(&It2MeHostUserInterface::OnShutdownHostTimer,
timer_weak_factory_.GetWeakPtr()),
- kContinueWindowHideTimeoutMs);
+ base::TimeDelta::FromMilliseconds(kContinueWindowHideTimeoutMs));
}
void It2MeHostUserInterface::OnShutdownHostTimer() {
@@ -138,7 +138,7 @@ void It2MeHostUserInterface::StartContinueWindowTimer(bool start) {
FROM_HERE,
base::Bind(&It2MeHostUserInterface::OnContinueWindowTimer,
timer_weak_factory_.GetWeakPtr()),
- kContinueWindowShowTimeoutMs);
+ base::TimeDelta::FromMilliseconds(kContinueWindowShowTimeoutMs));
}
}