Chromium Code Reviews| 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..3969fb3a653174587ea8fbe1c0968bf45aef235c 100644 |
| --- a/content/browser/frame_host/navigation_handle_impl.cc |
| +++ b/content/browser/frame_host/navigation_handle_impl.cc |
| @@ -183,9 +183,9 @@ 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."; |
| + CHECK_GE(state_, WILL_PROCESS_RESPONSE) |
| + << "This accessor should only be called after a response has been " |
| + "delivered for processing."; |
|
nasko
2016/06/24 16:08:41
I'm afraid of making this change. Mainly because w
|
| return render_frame_host_; |
| } |