summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/about_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/about_handler.cc')
-rw-r--r--chrome/renderer/about_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/renderer/about_handler.cc b/chrome/renderer/about_handler.cc
index 1b21e76..8651b6e 100644
--- a/chrome/renderer/about_handler.cc
+++ b/chrome/renderer/about_handler.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -61,13 +61,13 @@ void AboutHandler::AboutKill() {
// static
void AboutHandler::AboutHang() {
for (;;) {
- base::PlatformThread::Sleep(1000);
+ base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1));
}
}
// static
void AboutHandler::AboutShortHang() {
- base::PlatformThread::Sleep(20000);
+ base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(20));
}
// static