Index: ios/web/shell/view_controller.mm |
diff --git a/ios/web/shell/view_controller.mm b/ios/web/shell/view_controller.mm |
index 1d541061cbf792a066a0c78679b78381d1fd3306..0ed251575807515d78af38245fc4573754bef0e9 100644 |
--- a/ios/web/shell/view_controller.mm |
+++ b/ios/web/shell/view_controller.mm |
@@ -133,6 +133,10 @@ using web::NavigationManager; |
return _webState->GetNavigationManager(); |
} |
+- (web::WebState*)webState { |
+ return _webState.get(); |
+} |
+ |
- (void)setUpNetworkStack { |
// Disable the default cache. |
[NSURLCache setSharedURLCache:[EmptyNSURLCache emptyNSURLCache]]; |