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 |