Chromium Code Reviews| 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 81dd6e629220c078b2e7d23b102f4c48005a254e..d03ed0cea5bfd6c25680210d12ba630b53e82511 100644 |
| --- a/ios/web/web_state/ui/crw_web_controller.mm |
| +++ b/ios/web/web_state/ui/crw_web_controller.mm |
| @@ -1844,6 +1844,12 @@ - (void)loadCurrentURLInNativeView { |
| } |
| - (void)loadWithParams:(const NavigationManager::WebLoadParams&)originalParams { |
| + if (PageTransitionCoreTypeIs(originalParams.transition_type, |
| + ui::PAGE_TRANSITION_RELOAD)) { |
|
Eugene But (OOO till 7-30)
2017/03/15 17:53:32
This changes the way how NavigationManager::LoadUR
kkhorimoto
2017/03/15 18:04:11
This doesn't actually change how we handle |origin
Eugene But (OOO till 7-30)
2017/03/15 18:07:10
Thanks! If current behavior is preserved then we d
|
| + [self reload]; |
| + return; |
| + } |
| + |
| // Make a copy of |params|, as some of the delegate methods may modify it. |
| NavigationManager::WebLoadParams params(originalParams); |