| Index: chrome/test/chromedriver/commands_unittest.cc
|
| diff --git a/chrome/test/chromedriver/commands_unittest.cc b/chrome/test/chromedriver/commands_unittest.cc
|
| index 5ad7825bb5d20cccac416654b51af47fdb1084bf..12a115de6727df1bb58e2148f51432ebed7daffb 100644
|
| --- a/chrome/test/chromedriver/commands_unittest.cc
|
| +++ b/chrome/test/chromedriver/commands_unittest.cc
|
| @@ -2,9 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include <stddef.h>
|
| +#include "chrome/test/chromedriver/commands.h"
|
|
|
| +#include <stddef.h>
|
| #include <string>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| @@ -22,7 +24,6 @@
|
| #include "chrome/test/chromedriver/chrome/stub_web_view.h"
|
| #include "chrome/test/chromedriver/chrome/web_view.h"
|
| #include "chrome/test/chromedriver/command_listener_proxy.h"
|
| -#include "chrome/test/chromedriver/commands.h"
|
| #include "chrome/test/chromedriver/element_commands.h"
|
| #include "chrome/test/chromedriver/session.h"
|
| #include "chrome/test/chromedriver/session_commands.h"
|
| @@ -70,7 +71,7 @@ void ExecuteStubGetSession(int* count,
|
| capabilities->Set("capability1", new base::StringValue("test1"));
|
| capabilities->Set("capability2", new base::StringValue("test2"));
|
|
|
| - callback.Run(Status(kOk), capabilities.Pass(), session_id);
|
| + callback.Run(Status(kOk), std::move(capabilities), session_id);
|
| }
|
|
|
| void OnGetSessions(const Status& status,
|
|
|