Index: ios/web/test/wk_web_view_crash_utils.h |
diff --git a/ios/web/test/wk_web_view_crash_utils.h b/ios/web/test/wk_web_view_crash_utils.h |
index 305cf7553799a50e3ad12429c9863f98eeab9a0b..3d4268416ae19a744c54bab589321c3332e26264 100644 |
--- a/ios/web/test/wk_web_view_crash_utils.h |
+++ b/ios/web/test/wk_web_view_crash_utils.h |
@@ -14,11 +14,11 @@ void SimulateWKWebViewCrash(WKWebView* webView); |
// Returns a specialized WKWebView mock object with overridden JavaScript |
// evaluation method that fails with WKErrorWebContentProcessTerminated error. |
-WKWebView* CreateTerminatedWKWebView(); |
+WKWebView* CreateTerminatedWKWebView() NS_RETURNS_RETAINED; |
// Returns a specialized WKWebView mock object with overridden JavaScript |
// evaluation method that always succeeds with nil result. |
-WKWebView* CreateHealthyWKWebView(); |
+WKWebView* CreateHealthyWKWebView() NS_RETURNS_RETAINED; |
} // web |
#endif // IOS_WEB_TEST_WK_WEB_VIEW_CRASH_UTILS_H_ |