Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: ios/web/test/wk_web_view_crash_utils.h

Issue 2239773002: Annotates functions returning retained objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removes functions that are not in headers AND not in ios code. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698