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

Unified Diff: content/browser/bluetooth/bluetooth_dispatcher_host.cc

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: . Created 5 years, 1 month 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: content/browser/bluetooth/bluetooth_dispatcher_host.cc
diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.cc b/content/browser/bluetooth/bluetooth_dispatcher_host.cc
index d655d9d017a09b735357242ecedebf4450637300..0781837d8095fc5d90ce027116b16c0b6ae4fc96 100644
--- a/content/browser/bluetooth/bluetooth_dispatcher_host.cc
+++ b/content/browser/bluetooth/bluetooth_dispatcher_host.cc
@@ -11,6 +11,8 @@
#include "content/browser/bluetooth/bluetooth_dispatcher_host.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/single_thread_task_runner.h"
#include "base/strings/utf_string_conversions.h"
@@ -297,7 +299,7 @@ void BluetoothDispatcherHost::SetBluetoothAdapterForTesting(
devices_with_discovered_services_.clear();
}
- set_adapter(mock_adapter.Pass());
+ set_adapter(std::move(mock_adapter));
}
BluetoothDispatcherHost::~BluetoothDispatcherHost() {

Powered by Google App Engine
This is Rietveld 408576698