summaryrefslogtreecommitdiffstats
path: root/content/browser/loader/navigation_url_loader_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/loader/navigation_url_loader_unittest.cc')
-rw-r--r--content/browser/loader/navigation_url_loader_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/loader/navigation_url_loader_unittest.cc b/content/browser/loader/navigation_url_loader_unittest.cc
index df5e9d6..1cefb9b 100644
--- a/content/browser/loader/navigation_url_loader_unittest.cc
+++ b/content/browser/loader/navigation_url_loader_unittest.cc
@@ -165,8 +165,9 @@ class NavigationURLLoaderTest : public testing::Test {
job_factory_.SetProtocolHandler(
"test", net::URLRequestTestJob::CreateProtocolHandler());
job_factory_.SetProtocolHandler(
- "blob", new StreamProtocolHandler(
- StreamContext::GetFor(browser_context_.get())->registry()));
+ "blob",
+ make_scoped_ptr(new StreamProtocolHandler(
+ StreamContext::GetFor(browser_context_.get())->registry())));
request_context->set_job_factory(&job_factory_);
// NavigationURLLoader is only used for browser-side navigations.