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

Unified Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc

Issue 1156373011: Substituting ScopedVector push_back(ptr.release()) with push_back(ptr.Pass()) in chrome/bro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
index 736f1af4cd5ae005370dbbe9130482634237c739..5375e1e95145eab6c6f5e65f0da7099897a36677 100644
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
@@ -574,7 +574,7 @@ void ChromeResourceDispatcherHostDelegate::AppendStandardResourceThrottles(
MaybeCreate(
request, resource_type, io_data->data_reduction_proxy_io_data());
if (data_reduction_proxy_throttle)
- throttles->push_back(data_reduction_proxy_throttle.release());
+ throttles->push_back(data_reduction_proxy_throttle.Pass());
#endif
#if defined(ENABLE_SUPERVISED_USERS)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698