Index: ios/web/public/test/earl_grey/js_test_util.h |
diff --git a/ios/web/public/test/earl_grey/js_test_util.h b/ios/web/public/test/earl_grey/js_test_util.h |
index 8036e99701cd8366333ca7856382ccc30f3f4e5e..1dfdf80bfa26b94a4077c35e3be1423b186a26c8 100644 |
--- a/ios/web/public/test/earl_grey/js_test_util.h |
+++ b/ios/web/public/test/earl_grey/js_test_util.h |
@@ -23,7 +23,7 @@ void WaitUntilWindowIdInjected(WebState* web_state); |
// fails with a GREYAssert. |
id ExecuteJavaScript(WebState* web_state, |
NSString* javascript, |
- NSError** out_error); |
+ NSError* __autoreleasing* out_error); |
// Synchronously returns the result of executed JavaScript on interstitial page |
// displayed for |web_state|. |