| Index: net/proxy/dhcp_proxy_script_fetcher_win.cc
|
| diff --git a/net/proxy/dhcp_proxy_script_fetcher_win.cc b/net/proxy/dhcp_proxy_script_fetcher_win.cc
|
| index ab24aa34fe0e7baa4a889cfb9d8a4c9ab7c9bd9c..d7392fefbdbd95e9cc3ce0177cc0f682be75f771 100644
|
| --- a/net/proxy/dhcp_proxy_script_fetcher_win.cc
|
| +++ b/net/proxy/dhcp_proxy_script_fetcher_win.cc
|
| @@ -194,8 +194,7 @@ void DhcpProxyScriptFetcherWin::OnFetcherDone(int result) {
|
| if (state_ == STATE_NO_RESULTS) {
|
| state_ = STATE_SOME_RESULTS;
|
| wait_timer_.Start(FROM_HERE,
|
| - base::TimeDelta::FromMilliseconds(ImplGetMaxWaitMs()),
|
| - this, &DhcpProxyScriptFetcherWin::OnWaitTimer);
|
| + ImplGetMaxWait(), this, &DhcpProxyScriptFetcherWin::OnWaitTimer);
|
| }
|
| }
|
|
|
| @@ -283,8 +282,8 @@ DhcpProxyScriptFetcherWin::AdapterQuery*
|
| return new AdapterQuery();
|
| }
|
|
|
| -int DhcpProxyScriptFetcherWin::ImplGetMaxWaitMs() {
|
| - return kMaxWaitAfterFirstResultMs;
|
| +base::TimeDelta DhcpProxyScriptFetcherWin::ImplGetMaxWait() {
|
| + return base::TimeDelta::FromMilliseconds(kMaxWaitAfterFirstResultMs);
|
| }
|
|
|
| bool DhcpProxyScriptFetcherWin::GetCandidateAdapterNames(
|
|
|