| 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 65551c02de58d59c99c39ad334468b006e804518..0f4c75711fa1edda3b76971d6f8e2f246844cb74 100644
|
| --- a/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc
|
| +++ b/chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc
|
| @@ -284,10 +284,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.
|
|
|