Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc |
index ba0501f4cb3b21041d6b1df283035846ad0f3dd1..cf21046949e2517e7ab4221f1ce625cb157d5f1d 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc |
@@ -64,8 +64,8 @@ class DataReductionProxyBypassStatsTest : public testing::Test { |
// The |test_job_factory_| takes ownership of the interceptor. |
test_job_interceptor_ = new net::TestJobInterceptor(); |
- EXPECT_TRUE(test_job_factory_.SetProtocolHandler(url::kHttpScheme, |
- test_job_interceptor_)); |
+ EXPECT_TRUE(test_job_factory_.SetProtocolHandler( |
+ url::kHttpScheme, make_scoped_ptr(test_job_interceptor_))); |
context_.set_job_factory(&test_job_factory_); |