| Index: chrome/test/chromedriver/capabilities.cc
|
| diff --git a/chrome/test/chromedriver/capabilities.cc b/chrome/test/chromedriver/capabilities.cc
|
| index 494411fc3dccb86ca25490a1810fab7aecfc3f0e..a9bafc91ee785b5b2bdb63a6ea797df6b402e923 100644
|
| --- a/chrome/test/chromedriver/capabilities.cc
|
| +++ b/chrome/test/chromedriver/capabilities.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/test/chromedriver/capabilities.h"
|
|
|
| #include <map>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| @@ -111,7 +112,7 @@ Status ParseDeviceName(const std::string& device_name,
|
| status);
|
| }
|
|
|
| - capabilities->device_metrics.reset(device->device_metrics.release());
|
| + capabilities->device_metrics = std::move(device->device_metrics);
|
| // Don't override the user agent if blank (like for notebooks).
|
| if (!device->user_agent.empty())
|
| capabilities->switches.SetSwitch("user-agent", device->user_agent);
|
|
|