| 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 7222d3dfc1cb51ceeef36b4df87f125ea28076dd..9b525b191c81c5bcb699d1d5d2fb23d3ae3e976a 100644
|
| --- a/ios/web/web_state/ui/crw_web_controller.mm
|
| +++ b/ios/web/web_state/ui/crw_web_controller.mm
|
| @@ -4861,16 +4861,6 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
|
|
|
| - (void)webView:(WKWebView*)webView
|
| didCommitNavigation:(WKNavigation*)navigation {
|
| - // This method will crash if |currentSessionEntry| is null. If this check is
|
| - // hit it means that |didStartProvisionalNavigation| was called as expected
|
| - // but it did not call |registerLoadRequest|. TODO(crbug.com/676721): remove
|
| - // this CHECK once there is at least one crash on this line (which means that
|
| - // |didStartProvisionalNavigation| did not call |registerLoadRequest| and it
|
| - // should be fixed.
|
| - CHECK([self currentSessionEntry] || !navigation ||
|
| - [_navigationStates stateForNavigation:navigation] ==
|
| - web::WKNavigationState::STARTED);
|
| -
|
| [_navigationStates setState:web::WKNavigationState::COMMITTED
|
| forNavigation:navigation];
|
|
|
|
|