| Index: content/browser/frame_host/navigation_handle_impl.cc
|
| diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
|
| index a6267b6e28471d552d15d095eec511c5f3964c4c..a31508c18e0e1ec27973f27cbb510d2398d4090a 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.cc
|
| +++ b/content/browser/frame_host/navigation_handle_impl.cc
|
| @@ -183,9 +183,12 @@ net::Error NavigationHandleImpl::GetNetErrorCode() {
|
| }
|
|
|
| RenderFrameHostImpl* NavigationHandleImpl::GetRenderFrameHost() {
|
| - CHECK(state_ >= READY_TO_COMMIT)
|
| - << "This accessor should only be called "
|
| - "after the navigation is ready to commit.";
|
| + // TODO(mkwst): Change this to check against 'READY_TO_COMMIT' once
|
| + // ReadyToCommitNavigation is available whether or not PlzNavigate is
|
| + // enabled. https://crbug.com/621856
|
| + CHECK_GE(state_, WILL_PROCESS_RESPONSE)
|
| + << "This accessor should only be called after a response has been "
|
| + "delivered for processing.";
|
| return render_frame_host_;
|
| }
|
|
|
|
|