Index: ios/web/web_state/js/crw_js_early_script_manager_unittest.mm |
diff --git a/ios/web/web_state/js/crw_js_early_script_manager_unittest.mm b/ios/web/web_state/js/crw_js_early_script_manager_unittest.mm |
index c06ad6ed3d97024c77e7739b0d6f1e8a408521ab..ef5f5a6fad2fab0649242c848aa4b490fb09ff29 100644 |
--- a/ios/web/web_state/js/crw_js_early_script_manager_unittest.mm |
+++ b/ios/web/web_state/js/crw_js_early_script_manager_unittest.mm |
@@ -5,6 +5,7 @@ |
#import "ios/web/web_state/js/crw_js_early_script_manager.h" |
#include "base/mac/scoped_nsobject.h" |
+#include "base/memory/ptr_util.h" |
#import "ios/web/public/test/crw_test_js_injection_receiver.h" |
#include "ios/web/public/test/scoped_testing_web_client.h" |
#include "ios/web/public/web_client.h" |
@@ -17,7 +18,8 @@ namespace { |
class CRWJSEarlyScriptManagerTest : public PlatformTest { |
public: |
- CRWJSEarlyScriptManagerTest() : web_client_(make_scoped_ptr(new WebClient)) {} |
+ CRWJSEarlyScriptManagerTest() |
+ : web_client_(base::WrapUnique(new WebClient)) {} |
protected: |
void SetUp() override { |