Index: chrome/browser/plugins/npapi_infobar_browsertest.cc |
diff --git a/chrome/browser/plugins/npapi_infobar_browsertest.cc b/chrome/browser/plugins/npapi_infobar_browsertest.cc |
index a0dd6ab3683d1e99cf011c297c4cce29acf235fa..a3061d69d6184261145aa7f2b010f717a457de45 100644 |
--- a/chrome/browser/plugins/npapi_infobar_browsertest.cc |
+++ b/chrome/browser/plugins/npapi_infobar_browsertest.cc |
@@ -20,11 +20,11 @@ |
#include "content/public/common/content_switches.h" |
#include "content/public/test/browser_test_utils.h" |
#include "content/public/test/test_utils.h" |
-#include "content/test/net/url_request_mock_http_job.h" |
+#include "net/test/url_request/url_request_mock_http_job.h" |
#include "url/gurl.h" |
using content::BrowserThread; |
-using content::URLRequestMockHTTPJob; |
+using net::URLRequestMockHTTPJob; |
namespace { |
@@ -46,7 +46,10 @@ class UnauthorizedPluginInfoBarBrowserTest : public InProcessBrowserTest { |
new content::MessageLoopRunner; |
BrowserThread::PostTaskAndReply( |
BrowserThread::IO, FROM_HERE, |
- base::Bind(URLRequestMockHTTPJob::AddUrlHandler, root_http), |
+ base::Bind(URLRequestMockHTTPJob::AddUrlHandler, |
+ root_http, |
+ make_scoped_refptr( |
+ BrowserThread::GetBlockingPool())), |
runner->QuitClosure()); |
runner->Run(); |
} |