| Index: ios/web/test/web_test.mm
|
| diff --git a/ios/web/test/web_test.mm b/ios/web/test/web_test.mm
|
| index cc49404a67c7dff02c8a81223587a0553f91d3f6..f6c781c758141ea283f1264aecfd7ccf58ed72e9 100644
|
| --- a/ios/web/test/web_test.mm
|
| +++ b/ios/web/test/web_test.mm
|
| @@ -4,6 +4,8 @@
|
|
|
| #import "ios/web/test/web_test.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/base64.h"
|
| #include "base/strings/stringprintf.h"
|
| #import "base/test/ios/wait_util.h"
|
| @@ -263,7 +265,7 @@ NSString* WebTestWithWebController::CreateLoadCheck() {
|
|
|
| CRWWebController* WebTestWithUIWebViewWebController::CreateWebController() {
|
| scoped_ptr<WebStateImpl> web_state_impl(new WebStateImpl(GetBrowserState()));
|
| - return [[TestWebController alloc] initWithWebState:web_state_impl.Pass()];
|
| + return [[TestWebController alloc] initWithWebState:std::move(web_state_impl)];
|
| }
|
|
|
| void WebTestWithUIWebViewWebController::LoadCommands(NSString* commands,
|
| @@ -279,8 +281,8 @@ void WebTestWithUIWebViewWebController::LoadCommands(NSString* commands,
|
|
|
| CRWWebController* WebTestWithWKWebViewWebController::CreateWebController() {
|
| scoped_ptr<WebStateImpl> web_state_impl(new WebStateImpl(GetBrowserState()));
|
| - return [[CRWWKWebViewWebController alloc] initWithWebState:
|
| - web_state_impl.Pass()];
|
| + return [[CRWWKWebViewWebController alloc]
|
| + initWithWebState:std::move(web_state_impl)];
|
| }
|
|
|
| } // namespace web
|
|
|