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

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: comments 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..17dc0a67be6b384eee5d4c59303b65582babda80 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/Foundation.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
« no previous file with comments | « ios/public/provider/chrome/browser/updatable_resource_provider.h ('k') | ios/web/test/wk_web_view_crash_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698