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 |