Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 1735123002: Add checks to understand crash in NavigationHandle::DidCommitNavigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index a6e002acc8ee2c2af88a7be8ff6f2e36f50c9960..3cb274752a7bf9ab28752eb8d235fe69cef3b8a0 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1049,6 +1049,9 @@ void RenderFrameHostImpl::OnDidCommitProvisionalLoad(const IPC::Message& msg) {
}
}
+ CHECK(navigation_handle_);
nasko 2016/02/25 16:47:19 I don't see how this will be nullptr. It is tested
clamy 2016/02/26 12:41:02 Removed the check.
+ CHECK_EQ(navigation_handle_->GetURL(), validated_params.url);
nasko 2016/02/25 16:47:19 Same thing here. It is checked on 1026 and if the
clamy 2016/02/26 12:41:02 I know but we're still hitting the check in Naviga
+
accessibility_reset_count_ = 0;
frame_tree_node()->navigator()->DidNavigate(this, validated_params);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698