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

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: Sync'd to revision p349162. Created 5 years, 3 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 0d88d57661d916707be5bc362f856d7c8dbff602..df85756207276754aa685a6b461f1459d21b4a31 100644
--- a/device/test/usb_test_gadget_impl.cc
+++ b/device/test/usb_test_gadget_impl.cc
@@ -145,8 +145,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();
« no previous file with comments | « content/shell/browser/shell_url_request_context_getter.cc ('k') | extensions/browser/api/cast_channel/cast_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698