| Index: ios/web/web_state/ui/crw_web_controller.mm
|
| diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
|
| index 747eceb7980daf1a0a7fff49190067e95310a690..09ee39101878e80c598af64d7ff1af152796cd91 100644
|
| --- a/ios/web/web_state/ui/crw_web_controller.mm
|
| +++ b/ios/web/web_state/ui/crw_web_controller.mm
|
| @@ -1890,7 +1890,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
|
| const GURL targetURL = item ? item->GetURL() : GURL::EmptyGURL();
|
| const web::Referrer referrer;
|
| id<CRWNativeContent> nativeContent =
|
| - [_nativeProvider controllerForURL:targetURL];
|
| + [_nativeProvider controllerForURL:targetURL webState:self.webState];
|
| // Unlike the WebView case, always create a new controller and view.
|
| // TODO(pinkerton): What to do if this does return nil?
|
| [self setNativeController:nativeContent];
|
|
|