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

Unified Diff: ios/web/web_view_creation_util.mm

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/web_view_creation_util.mm
diff --git a/ios/web/web_view_creation_util.mm b/ios/web/web_view_creation_util.mm
index ce786587f86362ebfbf078af3c0d27b5af6db4fd..506e1d880723b1210eebde2de51cf4f96081795d 100644
--- a/ios/web/web_view_creation_util.mm
+++ b/ios/web/web_view_creation_util.mm
@@ -10,7 +10,8 @@
namespace web {
-WKWebView* CreateWKWebView(CGRect frame, BrowserState* browser_state) {
+WKWebView* CreateWKWebView(CGRect frame,
+ BrowserState* browser_state) NS_RETURNS_RETAINED {
DCHECK(browser_state);
WKWebViewConfigurationProvider& config_provider =

Powered by Google App Engine
This is Rietveld 408576698