Index: cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc |
diff --git a/cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc b/cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc |
index 653f854fcc3d414d8a29b0bf8b5afcc0f11c26b4..904ae65187ada16aebc42249132f0369166757f8 100644 |
--- a/cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc |
+++ b/cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc |
@@ -23,9 +23,9 @@ CloudPrintURLRequestContextGetter::GetURLRequestContext() { |
net::URLRequestContextBuilder builder; |
#if defined(OS_LINUX) || defined(OS_ANDROID) |
builder.set_proxy_config_service( |
- new net::ProxyConfigServiceFixed(net::ProxyConfig())); |
+ make_scoped_ptr(new net::ProxyConfigServiceFixed(net::ProxyConfig()))); |
#endif // defined(OS_LINUX) || defined(OS_ANDROID) |
- context_.reset(builder.Build()); |
+ context_ = builder.Build().Pass(); |
} |
return context_.get(); |
} |