| Index: chrome/test/chromedriver/alert_commands.cc
|
| diff --git a/chrome/test/chromedriver/alert_commands.cc b/chrome/test/chromedriver/alert_commands.cc
|
| index f75e440a5109d21fa5a27165bce7e6ca1045c221..e953f3c9bceb4f959cd9b91e4c5a1264d9f33dc2 100644
|
| --- a/chrome/test/chromedriver/alert_commands.cc
|
| +++ b/chrome/test/chromedriver/alert_commands.cc
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/test/chromedriver/chrome/javascript_dialog_manager.h"
|
| #include "chrome/test/chromedriver/chrome/status.h"
|
| #include "chrome/test/chromedriver/chrome/web_view.h"
|
| +#include "chrome/test/chromedriver/net/timeout.h"
|
| #include "chrome/test/chromedriver/session.h"
|
|
|
| Status ExecuteAlertCommand(
|
| @@ -32,7 +33,7 @@ Status ExecuteAlertCommand(
|
| return status;
|
|
|
| status = web_view->WaitForPendingNavigations(
|
| - session->GetCurrentFrameId(), session->page_load_timeout, true);
|
| + session->GetCurrentFrameId(), Timeout(session->page_load_timeout), true);
|
| if (status.IsError() && status.code() != kUnexpectedAlertOpen)
|
| return status;
|
|
|
|
|