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

Unified Diff: components/devtools_service/devtools_service_delegate.cc

Issue 1552763002: Global conversion of Pass()→std::move(): Linux GN static library edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Manual remove one more pessimizing move 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
« no previous file with comments | « components/devtools_service/devtools_service.cc ('k') | device/devices_app/devices_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/devtools_service/devtools_service_delegate.cc
diff --git a/components/devtools_service/devtools_service_delegate.cc b/components/devtools_service/devtools_service_delegate.cc
index ae96d2c72fa01d811d87768efa77fb4083962dc0..c59e970a46aecd0fb1a4312e105bf1b1a6da0bfd 100644
--- a/components/devtools_service/devtools_service_delegate.cc
+++ b/components/devtools_service/devtools_service_delegate.cc
@@ -4,6 +4,8 @@
#include "components/devtools_service/devtools_service_delegate.h"
+#include <utility>
+
#include "base/logging.h"
#include "components/devtools_service/devtools_registry_impl.h"
#include "components/devtools_service/devtools_service.h"
@@ -52,13 +54,13 @@ void DevToolsServiceDelegate::Quit() {
void DevToolsServiceDelegate::Create(
mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<DevToolsRegistry> request) {
- service_->registry()->BindToRegistryRequest(request.Pass());
+ service_->registry()->BindToRegistryRequest(std::move(request));
}
void DevToolsServiceDelegate::Create(
mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<DevToolsCoordinator> request) {
- service_->BindToCoordinatorRequest(request.Pass());
+ service_->BindToCoordinatorRequest(std::move(request));
}
} // namespace devtools_service
« no previous file with comments | « components/devtools_service/devtools_service.cc ('k') | device/devices_app/devices_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698