Index: content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.cc |
diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.cc b/content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.cc |
index fa83b6a6403c4b5c5ade0d13171c302fe66a5c96..7595cd1ab17e80f6b5c00b6de9512e2e6672b744 100644 |
--- a/content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.cc |
+++ b/content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.cc |
@@ -5,6 +5,7 @@ |
#include "content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.h" |
#include <string> |
+#include <utility> |
#include "base/memory/ptr_util.h" |
#include "content/public/test/layouttest_support.h" |
@@ -31,13 +32,13 @@ void LayoutTestBluetoothFakeAdapterSetterImpl::Create( |
void LayoutTestBluetoothFakeAdapterSetterImpl::Set( |
const std::string& adapter_name, |
- const SetCallback& callback) { |
+ SetCallback callback) { |
SetTestBluetoothScanDuration(); |
device::BluetoothAdapterFactoryWrapper::Get().SetBluetoothAdapterForTesting( |
LayoutTestBluetoothAdapterProvider::GetBluetoothAdapter(adapter_name)); |
- callback.Run(); |
+ std::move(callback).Run(); |
} |
} // namespace content |