| Index: chrome_frame/test/chrome_frame_test_utils.h
|
| diff --git a/chrome_frame/test/chrome_frame_test_utils.h b/chrome_frame/test/chrome_frame_test_utils.h
|
| index 8affbd56431ce148784bc06078eb508b7923ff18..7ceb8267c98339aa34a3e23d218cf6474fb0ca37 100644
|
| --- a/chrome_frame/test/chrome_frame_test_utils.h
|
| +++ b/chrome_frame/test/chrome_frame_test_utils.h
|
| @@ -204,7 +204,8 @@ class TimedMsgLoop {
|
|
|
| void PostDelayedTask(const tracked_objects::Location& from_here,
|
| const base::Closure& task, int64 delay_ms) {
|
| - loop_.PostDelayedTask(from_here, task, delay_ms);
|
| + loop_.PostDelayedTask(
|
| + from_here, task, base::TimeDelta::FromMilliseconds(delay_ms));
|
| }
|
|
|
| void Quit() {
|
| @@ -213,8 +214,8 @@ class TimedMsgLoop {
|
|
|
| void QuitAfter(int seconds) {
|
| quit_loop_invoked_ = true;
|
| - loop_.PostDelayedTask(
|
| - FROM_HERE, MessageLoop::QuitClosure(), 1000 * seconds);
|
| + loop_.PostDelayedTask(FROM_HERE,
|
| + MessageLoop::QuitClosure(), base::TimeDelta::FromSeconds(seconds));
|
| }
|
|
|
| bool WasTimedOut() const {
|
|
|