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

Unified Diff: ios/web/public/web_view_creation_util.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/public/web_view_creation_util.h
diff --git a/ios/web/public/web_view_creation_util.h b/ios/web/public/web_view_creation_util.h
index 4029685d0bb79ab90c73a14f70ded84ac5597732..8f77e00de3e0183ee17b9aae4cd4481caf4fb391 100644
--- a/ios/web/public/web_view_creation_util.h
+++ b/ios/web/public/web_view_creation_util.h
@@ -6,6 +6,7 @@
#define IOS_WEB_PUBLIC_WEB_VIEW_CREATION_UTIL_H_
#import <CoreGraphics/CoreGraphics.h>
+#import <Foundation/NSObjCRuntime.h>
@class WKWebView;
@@ -21,7 +22,8 @@ class BrowserState;
// 2) web::BrowsingDataPartition is synchronized.
//
// Note: Callers are responsible for releasing the returned WKWebView.
-WKWebView* CreateWKWebView(CGRect frame, BrowserState* browser_state);
+WKWebView* CreateWKWebView(CGRect frame,
+ BrowserState* browser_state) NS_RETURNS_RETAINED;
} // web

Powered by Google App Engine
This is Rietveld 408576698