| Index: chrome_frame/test/chrome_frame_automation_mock.cc
|
| diff --git a/chrome_frame/test/chrome_frame_automation_mock.cc b/chrome_frame/test/chrome_frame_automation_mock.cc
|
| index 1f50b2efb8a2558fe3cb8c90937c60d2ac5cf681..596e103b53529c753bfac50ed8a1cb75a131524d 100644
|
| --- a/chrome_frame/test/chrome_frame_automation_mock.cc
|
| +++ b/chrome_frame/test/chrome_frame_automation_mock.cc
|
| @@ -12,7 +12,9 @@ TEST(ChromeFrame, Launch) {
|
| MessageLoopForUI loop;
|
| AutomationMockLaunch mock_launch(&loop, kLongWaitTimeout);
|
|
|
| - loop.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(), kLongWaitTimeout);
|
| + loop.PostDelayedTask(FROM_HERE,
|
| + MessageLoop::QuitClosure(),
|
| + base::TimeDelta::FromMilliseconds(kLongWaitTimeout));
|
|
|
| mock_launch.Navigate("about:blank");
|
| loop.RunWithDispatcher(NULL);
|
| @@ -23,7 +25,9 @@ TEST(ChromeFrame, Navigate) {
|
| MessageLoopForUI loop;
|
| AutomationMockNavigate mock_navigate(&loop, kLongWaitTimeout);
|
|
|
| - loop.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(), kLongWaitTimeout);
|
| + loop.PostDelayedTask(FROM_HERE,
|
| + MessageLoop::QuitClosure(),
|
| + base::TimeDelta::FromMilliseconds(kLongWaitTimeout));
|
|
|
| mock_navigate.NavigateRelativeFile(L"postmessage_basic_frame.html");
|
| loop.RunWithDispatcher(NULL);
|
| @@ -34,7 +38,9 @@ TEST(ChromeFrame, PostMessage) {
|
| MessageLoopForUI loop;
|
| AutomationMockPostMessage mock_postmessage(&loop, kLongWaitTimeout);
|
|
|
| - loop.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(), kLongWaitTimeout);
|
| + loop.PostDelayedTask(FROM_HERE,
|
| + MessageLoop::QuitClosure(),
|
| + base::TimeDelta::FromMilliseconds(kLongWaitTimeout));
|
|
|
| mock_postmessage.NavigateRelativeFile(L"postmessage_basic_frame.html");
|
| loop.RunWithDispatcher(NULL);
|
| @@ -46,7 +52,9 @@ TEST(ChromeFrame, RequestStart) {
|
| AutomationMockHostNetworkRequestStart mock_request_start(&loop,
|
| kLongWaitTimeout);
|
|
|
| - loop.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(), kLongWaitTimeout);
|
| + loop.PostDelayedTask(FROM_HERE,
|
| + MessageLoop::QuitClosure(),
|
| + base::TimeDelta::FromMilliseconds(kLongWaitTimeout));
|
|
|
| mock_request_start.NavigateRelative(L"postmessage_basic_frame.html");
|
| loop.RunWithDispatcher(NULL);
|
|
|