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

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

Issue 1551033002: Convert Pass()→std::move() in //chrome (Android edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable RVO by making types match Created 5 years 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: 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 d36451dcfc26b63a7420483925c85def9e8d0e0e..95186d9791afa27888d8dcfd0e5de38cf9d56906 100644
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
@@ -513,7 +513,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.Pass());
+ throttles->push_back(std::move(data_reduction_proxy_throttle));
#endif
#if defined(ENABLE_SUPERVISED_USERS)

Powered by Google App Engine
This is Rietveld 408576698