| Index: ios/web/web_state/ui/crw_wk_script_message_router_unittest.mm
|
| diff --git a/ios/web/web_state/ui/crw_wk_script_message_router_unittest.mm b/ios/web/web_state/ui/crw_wk_script_message_router_unittest.mm
|
| index 2e91f43e8e8d3cc0dfb79bb2efb55602fb20561b..0f256158efdfafc3903b0e95934adcc48455cd63 100644
|
| --- a/ios/web/web_state/ui/crw_wk_script_message_router_unittest.mm
|
| +++ b/ios/web/web_state/ui/crw_wk_script_message_router_unittest.mm
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/mac/scoped_block.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "ios/web/public/test/scoped_testing_web_client.h"
|
| #include "ios/web/public/test/test_browser_state.h"
|
| #import "ios/web/public/test/test_web_client.h"
|
| @@ -28,7 +29,7 @@ id GetScriptMessageMock(WKWebView* web_view, NSString* name) {
|
| class CRWWKScriptMessageRouterTest : public web::WebTest {
|
| public:
|
| CRWWKScriptMessageRouterTest()
|
| - : web_client_(make_scoped_ptr(new web::WebClient)) {}
|
| + : web_client_(base::WrapUnique(new web::WebClient)) {}
|
|
|
| protected:
|
| void SetUp() override {
|
|
|