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

Unified Diff: content/browser/vibration_manager_integration_browsertest.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/browser/vibration_manager_integration_browsertest.cc
diff --git a/content/browser/vibration_manager_integration_browsertest.cc b/content/browser/vibration_manager_integration_browsertest.cc
index 562376105a3dd173724a06e854b417b4e92850bc..0a79119c6d9523ce4772969482a827b5eaef072f 100644
--- a/content/browser/vibration_manager_integration_browsertest.cc
+++ b/content/browser/vibration_manager_integration_browsertest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include <stdint.h>
+#include <utility>
#include "base/macros.h"
#include "build/build_config.h"
@@ -44,12 +45,12 @@ void ResetGlobalValues() {
class FakeVibrationManager : public device::VibrationManager {
public:
static void Create(mojo::InterfaceRequest<VibrationManager> request) {
- new FakeVibrationManager(request.Pass());
+ new FakeVibrationManager(std::move(request));
}
private:
FakeVibrationManager(mojo::InterfaceRequest<VibrationManager> request)
- : binding_(this, request.Pass()) {}
+ : binding_(this, std::move(request)) {}
~FakeVibrationManager() override {}
void Vibrate(int64_t milliseconds) override {
« no previous file with comments | « content/browser/tracing/tracing_controller_impl_data_sinks.cc ('k') | content/browser/wake_lock/wake_lock_service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698