Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: device/test/usb_test_gadget_impl.cc

Issue 1290243007: Shift URLRequestContextStorage over to taking scoped_ptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Paul_BuilderGrab
Patch Set: Lots of fixes driven by try jobs. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/test/usb_test_gadget_impl.cc
diff --git a/device/test/usb_test_gadget_impl.cc b/device/test/usb_test_gadget_impl.cc
index 7d227eabf15e1036b00ae5f51fa4335b022d7344..c6eedf494531f8dd9e1db660a370d0e899060783 100644
--- a/device/test/usb_test_gadget_impl.cc
+++ b/device/test/usb_test_gadget_impl.cc
@@ -144,8 +144,7 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
net::URLRequestContext* GetURLRequestContext() override {
if (!context_) {
net::URLRequestContextBuilder context_builder;
- context_builder.set_proxy_service(
- make_scoped_ptr(net::ProxyService::CreateDirect()));
+ context_builder.set_proxy_service(net::ProxyService::CreateDirect());
context_ = context_builder.Build().Pass();
}
return context_.get();

Powered by Google App Engine
This is Rietveld 408576698