| 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 f0f2bfb2ab78d5118b48bf4f06070e167a3a12db..8b7a52ae1f6d8ab44b81b6a3bf4139c6354228ac 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
|
| @@ -43,7 +43,9 @@ TEST_F(CRWJSEarlyScriptManagerTest, Content) {
|
| // |earlyScript| is a substring of |injectionContent|. The latter wraps the
|
| // former with "if (typeof __gCrWeb !== 'object')" check to avoid multiple
|
| // injections.
|
| - EXPECT_NE(NSNotFound, [injectionContent rangeOfString:earlyScript].location);
|
| + EXPECT_NE(NSNotFound,
|
| + static_cast<NSInteger>(
|
| + [injectionContent rangeOfString:earlyScript].location));
|
| }
|
|
|
| } // namespace
|
|
|