summaryrefslogtreecommitdiffstats
path: root/content/browser/webui/web_ui_mojo_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/webui/web_ui_mojo_browsertest.cc')
-rw-r--r--content/browser/webui/web_ui_mojo_browsertest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/webui/web_ui_mojo_browsertest.cc b/content/browser/webui/web_ui_mojo_browsertest.cc
index 9785997..805f1bb 100644
--- a/content/browser/webui/web_ui_mojo_browsertest.cc
+++ b/content/browser/webui/web_ui_mojo_browsertest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include <limits>
+#include <utility>
#include "base/command_line.h"
#include "base/files/file_path.h"
@@ -81,7 +82,7 @@ class BrowserTargetImpl : public BrowserTarget {
public:
BrowserTargetImpl(base::RunLoop* run_loop,
mojo::InterfaceRequest<BrowserTarget> request)
- : run_loop_(run_loop), binding_(this, request.Pass()) {}
+ : run_loop_(run_loop), binding_(this, std::move(request)) {}
~BrowserTargetImpl() override {}
@@ -140,7 +141,7 @@ class PingTestWebUIController : public TestWebUIController {
}
void CreateHandler(mojo::InterfaceRequest<BrowserTarget> request) {
- browser_target_.reset(new BrowserTargetImpl(run_loop_, request.Pass()));
+ browser_target_.reset(new BrowserTargetImpl(run_loop_, std::move(request)));
}
private: