| Index: components/web_view/web_view_apptest.cc
|
| diff --git a/components/web_view/web_view_apptest.cc b/components/web_view/web_view_apptest.cc
|
| index de791f036d42497a1f4c0130e0e20e079a970229..d8d7858693e290b4a7e6fab008367b5262c7c134 100644
|
| --- a/components/web_view/web_view_apptest.cc
|
| +++ b/components/web_view/web_view_apptest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "components/web_view/public/cpp/web_view.h"
|
|
|
| #include <stdint.h>
|
| +#include <utility>
|
|
|
| #include "base/base_paths.h"
|
| #include "base/files/file_path.h"
|
| @@ -83,7 +84,7 @@ class WebViewTest : public mus::WindowServerTestBase,
|
| void NavigateTo(const std::string& file) {
|
| mojo::URLRequestPtr request(mojo::URLRequest::New());
|
| request->url = GetTestFileURL(file).spec();
|
| - web_view()->LoadRequest(request.Pass());
|
| + web_view()->LoadRequest(std::move(request));
|
| StartNestedRunLoopUntil(LOADING_DONE);
|
| }
|
|
|
|
|