| Index: chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc
|
| diff --git a/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc b/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc
|
| index ecd184603c075034e793d07ca048085d831e1d85..34ac7f916881e57040f034f79405fde0c1c03210 100644
|
| --- a/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc
|
| +++ b/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc
|
| @@ -352,10 +352,8 @@ IN_PROC_BROWSER_TEST_F(NoStatePrefetchBrowserTest, PrefetchSimultaneous) {
|
| base::FilePath first_path = ui_test_utils::GetTestFilePath(
|
| base::FilePath(), base::FilePath().AppendASCII(kPrefetchPage));
|
|
|
| - content::BrowserThread::PostTask(
|
| - content::BrowserThread::IO, FROM_HERE,
|
| - base::Bind(&test_utils::CreateHangingFirstRequestInterceptorOnIO,
|
| - first_url, first_path, base::Closure()));
|
| + test_utils::CreateHangingFirstRequestInterceptor(
|
| + first_url, first_path, base::Callback<void(net::URLRequest*)>());
|
|
|
| // Start the first prefetch directly instead of via PrefetchFromFile for the
|
| // first prefetch to avoid the wait on prerender stop.
|
|
|